WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Easy Custom Fields] WYSIWYG Editor Field

[Plugin: Easy Custom Fields] WYSIWYG Editor Field

  • belchandan
    Member

    @bhupeshbelchandan

    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.
    Thanks

    http://wordpress.org/extend/plugins/easy-custom-fields/

Viewing 1 replies (of 1 total)
  • belchandan
    Member

    @bhupeshbelchandan

    Got it used php function html_entity_decode to decode content back, I think Easy_CF_Field’s get function encode the value.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Easy Custom Fields] WYSIWYG Editor Field’ is closed to new replies.