Support » Plugin: WP Ajaxify Comments » CKEditor disappears after posting comment

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author janjonas

    (@janjonas)

    Hi,

    thanks for your comment.

    You can try on of the following “After update comments” setting

    CKEDITOR.instances[ckeditorSettings.textarea_id].destroy(true);
    ckeditorOn();

    or

    CKEDITOR.instances[ckeditorSettings.textarea_id].destroy(true);
    CKEDITOR.replace(ckeditorSettings.textarea_id,
    ckeditorSettings.configuration);
    var labelObj = jQuery('#'+ckeditorSettings.textarea_id).prev('label');
    if (labelObj){
       labelObj.hide();
    }

    This settings solved CKEditor problems with the Wp-rich-comments. Please leave me a message if this does not work with your CKEditor plugin and I will take a closer look.

    Hope this helps…

    Hi,

    Thanks for your quick response.
    Unfortunately, both options didn’t work…
    They both result in a Javascript error:

    Error: TypeError: c is null
    Source File: [mydomain]/wp-content/plugins/ckeditor-for-wordpress/ckeditor/ckeditor.js?t=CBDD&ver=3.2.1
    Line: 712

    Thanks!

    Plugin Author janjonas

    (@janjonas)

    Please try the following settings:

    ‘OnBeforeUpdateComments’ callback
    ckeditorOff();

    ‘OnAfterUpdateComments’ callback
    ckeditorOn();

    Hope this helps…

    Yes! That did the trick!

    Thanks 🙂

    Plugin Author janjonas

    (@janjonas)

    Great! Thanks for your feedback…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘CKEditor disappears after posting comment’ is closed to new replies.