WP_editor problem

Question

A few days ago I asked this question.

Today I started building a new website in which I copied the code of my plugin used at the website from my previous question.

And I was surprised when I saw that the exact same code that was bugging at my previous website is working perfectly fine in the new website I’m building.

For the people who did not read my previous topic:
At my another website WP_editor is opening in the ‘Plain text’ field. I can type there and use options like Bold, Italic etc. As soon I switch to the Visual tab, my text is deleted just as all the options.
All I see is a blanco tab which cannot be edited.

The code I’m using to display the editor:

 add_action( 'edit_page_form', 'content' );
                wp_editor(
                    "Sample",
                    'content',
                    array( 'textarea_name' => 'content' )
                );

Is someone familiar with this problem or someone who knows a solutions for this?
Thanks in advance!

EDIT:
Getting the following errors:

GET
http://www.domain.com/wp-includes/js/tinymce/langs/nl.js?ver=358-23224
404 (Not Found) wp-tinymce.php:1

Failed to load:
http://www.domain.com/wp-includes/js/tinymce/langs/nl.js
wp-tinymce.php:1

GET
http://www.domain.com/wp-includes/js/tinymce/themes/advanced/langs/nl.js?ver=358-23224
404 (Not Found) wp-tinymce.php:1

Failed to load:
http://www.domain.com/wp-includes/js/tinymce/themes/advanced/langs/nl.js

0
Ronny Rook 5 months 2020-12-26T20:10:25-05:00 0 Answers 5 views 0

Leave an answer

Browse
Browse