Active
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Oct 2012 at 20:19 UTC
Updated:
26 Oct 2012 at 06:46 UTC
I use code suggested by http://drupal.org/node/1145132#comment-5601364 to disable autoload of ckeditor on few textareas.
But after adding new entity to the form via ajax (>Add new item< button) on all textarea the ckeditor get enabled, which causes the browser to hang for seconds on big forms. Any idea how to solve this?
Also if certain ckeditor are disabled vie the >Switch to plain text editor< link they will get re-enabled after adding new item to the form via ajax.
Comments
Comment #1
mkesicki commentedThank you for noticing this. We try check and fix this as soon as possible.
Comment #2
e5sego commentedRemark:
setting the autostart values to false or 'undefined' using hook_js_alter() does not disable ckeditor autostart. Just removing them does it, with the behavior descriped above.
PHP-alternative to disable ckeditor on each field with machine name starting with "somefield":
Comment #3
mkesicki commented@e5sego,
thank you for information and code sample.