I’ve been trying to get the TinyMCE editor working in the comments field but I’ve been unable to do so. Another suggestion I found was http://nicedit.com, the editor is working but the comments are not saved in rich text.
TinyMCEComments seems to do it but hasn’t been updated in a while, it’s not working for 3.2.
Did anybody got this working? Thanks!
Below are the methods you can try. The first solution is probably the best. Try others if the first one doesn’t work. Senior developers aren’t just copying/pasting – they read the methods carefully & apply them wisely to each case.
Solved it myself by loading tinymce in the header:
Unfortunately your solution has a bug. TinyMCE stops working when used with threaded comments and user clicks reply. This is because it can’t be moved around in DOM. TinyMCE must be removed from DOM before comment form is moved on reply and added back after comment form is in place. The same thing needs to be done when/if user clicks cancel reply. I posted a bunch of code for WordPress > 3.3 with two ways to solve this problem in an article on my blog:
Also my solution makes it possible to use both TinyMCE (Visual) or Quicktags(HTML) editor or both using WordPress 3.3 wp_editor() function.