Replace CLEDITOR with CKeditor

I replaced CLEditor that comes with this plugin with CKeditor.

The problem is that it shows error massage when someone trying to publish a quastion or an answer.

It doesn’t recognize the text in textarea. This is the error massage i got.

“You have to actually write something.”

Actually i did write something but it cuzing this error.

Any direction where is the loop that is checking if there is a text or not in textarea ?

Waiting for your replies guys

  • Imedo
    • Design Lord, Child of Thor

    Sorry guys, I ment Q&A Plugin

    I already replaced and found a solution for it.

    I had to not touch the “name” parameter as it is displayed in example i mentioned below.

    for everyone who wants to use the Ckeditor instead of CLeditor must use it this way

    <p><textarea id="editor" name="answer"><?php echo esc_textarea( $answer->post_content ); ?> </textarea>
    <script type="text/javascript">
    CKEDITOR.replace( 'editor' );

    you have to add ID to textarea like i did, Put JS after closing tag of the textarea and the name “editor” i use is the way i want the Toolbar buttons to show up in this editor so you have to configure it by yourself but as a default the whole toolbars shows up with all functionality it has and not as you can see in image above.

    Anyway i suggest to use CKeditor instead of CLeditor because it supports the other languages a special Hebrew with RTL capability.


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.