﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
11573	New event: DirtyStateChanged	Joel		"Two very useful events for sites monitoring editor dirty state would be editorGotDirty and editorGotClean. The events would always be fired when the return value of checkDirty() would change. Here's a a use case:

{{{
    CKEDITOR.on('editorGotDirty', function(e) {
        console.log(""editor is now dirty"");
        // Form containing ckeditor is now dirty, set flag
    });
}}}

This would be useful in replacing checkDirty() polling and listening to the 'change' event - I use the change event in combination with checkDirty to detect changes. This event would make a LOT of checkDirty calls redundant and quite possibly increase performance for complicated dirty checks that check other things than the editor dirty state too.

I think it might not be that difficult to implement; wouldn't this be fired always when the save button state is changed?

Better naming might be suitable."	New Feature	closed	Normal		General		invalid		
