Hello.
I'm trying to add CKEditor to Wordpress comment form.
What I've done is extract it to site root folder. Then, in normal textarea component, I've added:
At first it loads ok, but soon the problems start.
I use AJAX Comment Preview, which submits the form and loads a preview of how the comment will show up. It is not being able to get textarea content, and preview gets broken.
My site also supports (Wordpress built-in) threaded comments. When I try to reply a comment, the whole comment form is moved below that comment. But when it happens CKEditor breaks, only showing "null" inside it and losing any text that had already been typed.
Any idea how to make CKEditor work with these 2 features?
I'm trying to add CKEditor to Wordpress comment form.
What I've done is extract it to site root folder. Then, in normal textarea component, I've added:
<script type="text/javascript" src="/ckeditor/ckeditor.js"></script> <p><textarea class="ckeditor" name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>
At first it loads ok, but soon the problems start.
I use AJAX Comment Preview, which submits the form and loads a preview of how the comment will show up. It is not being able to get textarea content, and preview gets broken.
My site also supports (Wordpress built-in) threaded comments. When I try to reply a comment, the whole comment form is moved below that comment. But when it happens CKEditor breaks, only showing "null" inside it and losing any text that had already been typed.
Any idea how to make CKEditor work with these 2 features?