I tried to create custom-field with wysiwyg editor, getting the editor on the edit page as well, however content set there is showing html tags under visual tab and when we switch to html tab, it convert those html entities, e.g. ‘<‘ to
& gt ;
I am using wp_editor function to print the field in the form, sample code below:
wp_editor( $value, $id, array(‘wpautop’=>false, ‘media_buttons’=>true, ‘textarea_name’=>$id, ‘tabindex’ => 2 ) );
I think, the way I am setting the value in editor in not correct.
Please suggest me the right way for that.
- The topic ‘[Plugin: Easy Custom Fields] WYSIWYG Editor Field’ is closed to new replies.