WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Ckeditor breaks wordpress built-in ajax reply function (7 posts)

  1. solagirl
    Member
    Posted 2 years ago #

    Hello, I have installed CKeditor for wordpress plugin and found that it breaks my wordpress comment reply function. Here is the detail

    Wordpres version: 3.3.2

    Ckeditor For WordPress version: 3.6.2.5

    In the comments section of dashboard, when I first click on reply link of a comment, a box would open for me to enter my reply. If I close it and click on another reply link, nothing happens, the ajax reply function stops working. I have to refresh page to get it to work.

    I installed wordpress with default themes and only enabled Ckeditor For WordPress plugin, the problem occurs. Can anyone show me how to fix it?

    FIY, the error message found in firefox console when it stops working

    d is undefined
    http://localhost/wptest/wp-admin/load-scripts.php?c=1&load=admin-bar,hoverIntent,common,jquery-color,wp-ajax-response,wp-lists,quicktags,jquery-query,admin-comments,editor&ver=3cfc61dc3acd56f73c83cd9153f7a04a
    Line 7

    Thank you!

  2. michal
    Member
    Posted 2 years ago #

    Thank you for noticing this. We try to check and fix this as soon as possible. Please be patient.

  3. dczepierga
    Member
    Posted 2 years ago #

    Hi,

    I make a little fix for working CKEditor on ajax comment reply in dashboard - so pls download last DEV version (http://downloads.wordpress.org/plugin/ckeditor-for-wordpress.zip) and check does it works or not for u.

    After check pls write here result of your test.

    Greetings

  4. solagirl
    Member
    Posted 2 years ago #

    Hi,

    Thank you for getting back to me. I just tried it out, it certainly looks much better, no error is given.
    I can see a simple ckeditor replaces the textarea when clicking reply, this is nice to me since I can't use quicktags when ckeditor. is enabled.

    I also noticed one thing, the default wordpress behavior is that when the escape key is pressed, the reply box closes. After ckeditor is activated, the behavior is gone. This is good for me as I have hacked the core to stop the behavior.

    Could you show me which files are updated? I replaced default smiley and installed a ckeditor syntax highlighter plugin, do not wish to redo them.

    Anyway, good job, thank you!

  5. dczepierga
    Member
    Posted 2 years ago #

    Hi,
    It's much more harder to add keypressed behavior into CKEditor, so i don't do this now :) Maybe in the near future i will add this feature - maybe as configuration option - we will see...

    U must replace only includes/ckeditor.utils.js file to see all changes from here.

    Greetings and really thx for review and help.

  6. solagirl
    Member
    Posted 2 years ago #

    Thank you, I will update that file.
    I'm more than happy to live without the keypressed behavior, I even thought WordPress should disable that feature when I choose not to "Enable keyboard shortcuts for comment moderation".

  7. solagirl
    Member
    Posted 2 years ago #

    mark it as resolved

Topic Closed

This topic has been closed to new replies.

About this Topic