When a field is changed on a form, Drupal triggers a 'formUpdated' event on the form element that changed (or trigger a change event on the textarea). See Drupal.behaviors.formUpdated in misc/form.js.

Edit module relies on this event to update the state of it's interface.

Files: 
CommentFileSizeAuthor
#1 pass-events-to-textarea-1895278-1.patch1.63 KBwwalc

Comments

StatusFileSize
new1.63 KB

The attached patch will work better once the onchange event will be available: http://dev.ckeditor.com/ticket/9794

In the meantime the onchange plugin might be helpful.

Status:Active» Needs review

Status:Needs review» Reviewed & tested by the community

works great :) thanks a lot.

Title:WYSIWYG editor should trigger custom Drupal event 'formUpdated'WYSIWYG editor should allow Drupal to trigger 'formUpdated' event
Status:Reviewed & tested by the community» Fixed

Issue tags:+Edit D7 Backport

Just tagging as part of the larger Edit module D7 backport; don't mind me. :D

Status:Fixed» Needs work

Sadly, this patch seems to connected with my issue #1909150 -- full details on my setup there. If there is any content inside the underlying textarea, then the CKEditor instance will not appear, and I'm left with a regular textarea. I don't really understand what's going wrong, but I keep getting this error message on page load:
"Uncaught TypeError: Object # has no method 'editable' ckeditor.utils.js:93"

Line 92 in sites/all/modules/ckeditor/includes/ckeditor.utils.js references this issue number. I appreciate any help!

Status:Needs work» Fixed

Oops, indeed it could not work with old 3.x, fixed:
http://drupalcode.org/project/ckeditor.git/commitdiff/9308f1e

That does seem to fix the error message, but doesn't resolve my other issue. I can't be certain my other issue was caused by this bug -- may well be another module or my custom code. Thanks for the prompt response!!

Automatically closed -- issue fixed for 2 weeks with no activity.