Adding TinyMCE text editor in textarea custom field

  • Hemanta Chakladar
    Hemanta Chakladar
    Super Guru 1,710 points
    August 15, 2015 at 7:37 am

    Any knows knows any fix to wrap tinyMCE text editor to a textarea type custom field on add-listing page ?

  • Hemanta Chakladar
    Hemanta Chakladar
    Super Guru 1,710 points
    August 15, 2015 at 1:35 pm

    Where are you, @Josh ?

  • Mark
    Mark
    Titan 733 points
    August 17, 2015 at 12:17 am

    @Hemanta, even if you changed your textarea to a text editor, the content will still be saved as a plain text as Mark has hardcoded a strip_tags on all fields.

    See the tpl_add.php around line 493:

    update_post_meta($POSTID, strip_tags($key), esc_html(strip_tags($val)));

Viewing 3 posts - 1 through 3 (of 3 total)

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes