With a lot of help, I finally got CKEditor to update the associated text area. See the message here .
However, I donβt understand how to get CKEditor to update each related text area when there is more than 1 CKEditor in the form.
Here is the jquery that I have. It updates only the last text area associated with CKEditor in the form:
for (var i in CKEDITOR.instances) { CKEDITOR.instances[i].on('change', function() { CKEDITOR.instances[i].updateElement() });
How to update each associated CKEditor text area when I have 5 or 10 CKEditors in the form?
jquery ckeditor
user3354539
source share