an
groups-icon

Add TinyMCE and Quicktags visual editors to comments form

Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
  • Version 9
    Laurent RICHARD
    0 points
    Beginner

    Hello,

    I would like to delete my actual Comment Form Quicktags WordPress plugin, and add TinyMCE and Quicktags visual editors to the comments form (Directory Press 7.1.4).

    I found a code here : https://www.techytalk.info/add-tinymce-quicktags-visual-editors-wordpress-comments-form/

    But, when I try to add the following code in my functions.php theme, I can see the visual editor on the top of all of my website pages, in the admin area, etc.


    wp_editor( '', 'comment', array(
    'media_buttons' => false,
    'textarea_rows' => '3',
    'tinymce' => array(
    'plugins' => 'inlinepopups, wordpress, wplink, wpdialogs',
    'theme_advanced_buttons1' => 'bold, italic, underline, strikethrough, forecolor, separator, bullist, numlist, separator, link, unlink, image',
    'theme_advanced_buttons2' => ''
    ),
    'quicktags' => array('buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close')
    )
    );

    Thanks by advance if you can help me.

    February 20, 2014 at 3:49 pm
  • Laurent RICHARD
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    February 26, 2014 at 10:44 pm

486

Views

1

Replies