Is there a way to add TinyMCE to its own WordPress plugin?
I have a text, want back and script and make this area in a TinyMCE WYSIWYG editable field. Is there a way to do this?
This code works for me Does not:
& lt ;? Php wp_tiny_mce (wrong, array ("editor_selector" => "test")); ? & Gt; & Lt; Textarea class = "test" id = "test" name = "test" & gt; & Lt; / Textarea & gt;
This javascript error shows
f is undefined
Firebug screenshot:
This does not work either:
& lt; Textarea class = "the editor" id = "videogalerie-add_description" name = "videogalerie-add_description" & gt; & Lt; / Textarea & gt; This is very easy in WordPress 3.3 using
function.
I am working on a plugin that will add a TinyMCE instance to a Theme Options page. Here it is visible:
// TinyMCE visual editor wp_editor ($ content, $ id);
Where $ content is archived content and the name of the $ id field has passed options to customize TinyMCE functionality For more information, see the WordPress Codex.
Comments
Post a Comment