Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

share|improve this question
    
…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 Dec 29 '12 at 15:40
    
@fischi "rich-tag-editor"? I meant a rich-text editor. –  feeela Dec 29 '12 at 17:48
    
ups, my mistake :D –  fischi Dec 29 '12 at 18:29
    
check this tutoral: revood.com/blog/… –  Tara Dec 29 '12 at 19:51
    
Please do not invent tags no one will subscribe to. –  toscho Dec 30 '12 at 1:59
add comment

2 Answers

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.

share|improve this answer
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 Dec 29 '12 at 17:45
add comment

I have successfully implemented a front-end posting system using TinyMCE called with wp_editor. Here is a pastebin of the page template if it's at all helpful to you: http://pastebin.com/0ePiqvsL

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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