1. 4
45 (1 vote)
39122 downloads onchange
  • Add to my editor
  • Download


    The recommended way to install all CKEditor add-ons is to create a custom build by using CKBuilder. To do that, click the Add to my editor button on the plugin page. When you are done, click the Build my editor button on the right side of the page to go to CKBuilder.

    Add-on Installation Instructions

    If you want to add the plugin manually, you will need to:

    1. Extract the downloaded plugin .zip into the plugins folder of your CKEditor installation. Example:
    2. Enable the plugin by using the extraPlugins configuration setting. Example:
      config.extraPlugins = 'onchange';
    3. Download and configure all its dependencies, too.

    Add-on Dependencies

    No additional dependencies.

    Note: The plugin may have additional requirements. Check the add-on page and documentation for more details.


Get a notification (new event) whenever the content of CKEditor changes.


Plugin versions CKEditor versions
4.5 4.4 4.3 4.2 4.1 4.0

Version: 1.8 - Download

Show notes

Fix by Roman Minkin to work with large documents.

unknown compatibilityunknown compatibilityunknown compatibilityunknown compatibilitycompatiblecompatible

Version: 1.7 - Download

Show notes

Fixed compatibility with Source mode in CKEditor 4

unknown compatibilityunknown compatibilityunknown compatibilityunknown compatibilityunknown compatibilitycompatible
Log in to rate this plugin


Post a comment
  1. The content of this field is kept private and will not be shown publicly.
  2. *  Required fields
  1. Sorry, I din't notice that because I made just some quick tests (but I had to fix that missing .textarea for the Configuration Helper plugin) and this page hasn't notified me about any comments.

    In the future it might be better to report problems in my blog as I'm sure that I get an email whenever something's posted there.

  2. With this plugin it's simple to trigger onchange event  with source textarea element, for validaton based on this event for example:

    $( 'textarea' ).ckeditor(function() { this.on( 'change', function(e) 
                }); });

  3. I have a small issue that I would want others to verify. WIth CKE 4.0.1 I do 

                    editor.on('change', function (ev) {
                        if (editor.checkDirty()) {
                            debug('onChange ToTrue');
                        } else {
                            debug('onChange ToFalse');

    If the magicline appears onChange toTrue is fired and when it dissappears toFalse is fired. If I don't have magicline and just type something in normally, onChange ToTrue does not happen! So I could type something, hit C-Z to undo and ToFalse fires. Then type something again and hit C-Z and then ToFalse happens again without a ToTrue inbetween. Any ideas?

    I'm trying to track changes while ignoring the magicline when I ran into this issue.