0

Is there any way in Wordpress to use a richt-text-editor (preferable the build in TinyMCE) on the comment form textarea in the frontend? I had such a feature in earlier versions, using the plugin "TinyMCEComment", but that one is not developed any further and is broken on 3.x versions. I've tried all related plugins on a Wordpress 3.4 installation, none of them is working (e.g. can't insert links, missing labels, …).

I also tried several ways of creating a plugin to enable the RTE for comments, like adding the the JS code manually. My last approach looked like:

function commentTinyMCE() {

    wp_editor( '', 'comment', array(
        'media_buttons' => false,
        'teeny' => true,
    ) );

}

/* hook into WordPress */
add_action('wp_footer', 'commentTinyMCE' );

As of what I could say after debugging is, that the function wp_editor does nothing.

Right now it seems to me, that is it impossible to integrate a useful, working RTE into the comment forms. Quicktags above the form is not what my customers are after.

Any help would be appreciated.

5
  • …should also be tagged as "rich-text-editor" or "RTE", but that tag doesn't exist on WP:SE and I haven't the right to create it.
    – feeela
    Commented Dec 29, 2012 at 15:40
  • @fischi "rich-tag-editor"? I meant a rich-text editor.
    – feeela
    Commented Dec 29, 2012 at 17:48
  • ups, my mistake :D
    – fischi
    Commented Dec 29, 2012 at 18:29
  • check this tutoral: revood.com/blog/…
    – Tara
    Commented Dec 29, 2012 at 19:51
  • Please do not invent tags no one will subscribe to.
    – fuxia
    Commented Dec 30, 2012 at 1:59

1 Answer 1

1

You can use the StackOverflow Editor for Comments, using the WP Markdown Plugin.

If you want another one, try TinyMCEComments or something like that. Didn't test this Plugin - but should work fine.

1
  • 1
    As I wrote in the question, the TinyMCEComments plugin doesn't work anymore with 3.x versions of WP. I'll need to ask my customer, if it's acceptable for him to see markup in the textarea – even if it's just simple Markdown. Nice hint, but waiting for more such answers.
    – feeela
    Commented Dec 29, 2012 at 17:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.