Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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 CreditAttribution: mkesicki commentedThank you for noticing this. We try check and fix this as soon as possible.
Comment #2
e5sego CreditAttribution: 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 CreditAttribution: mkesicki commented@e5sego,
thank you for information and code sample.