i used wordpress 3.8 and i create plugin and i displayed the wp_editor.
but it look like this.
this is my code.
$content = "";
$edit_id = "slider_text_editor";
wp_editor( $content, $edit_id );
i used wordpress 3.8 and i create plugin and i displayed the wp_editor.
but it look like this.
this is my code.
$content = "";
$edit_id = "slider_text_editor";
wp_editor( $content, $edit_id );
to properly use the wp_editor use it like this:
try with below code:
Where $mce_config should be an array of key=>value pairs that represent the configuation settings for the editor(tinymce) instance.
Config settings can be found here.
http://wiki.moxiecode.com/index.php/TinyMCE:Configuration
Or if you prefer, a brief write-up covering the key points can also be found here.
http://www.keighl.com/2010/01/tinymce-in-wordpress-plugins/
If you have problems implementing the code, let me know, i've used it in plugins page myself without a hitch.. ;)
for more information visit : How to use Wordpress Text Editor in a custom plugin
thanks