We had been using the WYSIWYG module, but decided to evaluate CKEditor module's implementation of the CKEditor WYSIWYG. We had been using TinyMCE, previously, but there seems to be a lot of momentum behind the CKEditor community at the moment.
In anycase, this summer we helped to upgrade the http://drupal.org/project/node_edit_protection module and did this because we were finding it far too easy to navigate away from a document we were editing. Simply by hitting the backspace outside of the textarea allowed the browser to go back to a previous screen and lost all of the data that we were editing at the time. It's the same thing if you accidentally click on a link from the edit screen.
We're still using this, but CKEditor uses an iFrame and we're not able to as easily identify when the content in the textarea box has changed. Is there a way to do this natively within CKEditor?
It's going to be important to figure this type of thing out as we move to a release of D8 where there may well be a WYSIWYG in core.
Comments
Comment #1
mkesicki CreditAttribution: mkesicki commentedPlease check CKEditor API function like http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#check.... Maybe this is what you are looking for.
Comment #2
mgiffordThat looks possible. This is another related issue #1001476: Dirty Forms does not recognize changes in CKEditor textarea
Comment #3
dczepierga CreditAttribution: dczepierga commentedHi @mgifford,
It will be hard to add support for this in our module - in "Node Edit Protection" it's much easier so I've add patches and review them - everything seems to works fine.
Node Edit Protection - Add support for CKEditor module:
Drupal 7 - #1358004: [D7] Add support for CKEditor library
Drupal 6 - #1358024: [D6] Add support for CKEditor module
Greetings
Comment #4
mgiffordWe'll test this too. Thanks for adding the patch!