Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I tried to use the "Custom javascript configuration" (found in "Advanced options" of the ckeditor module), I noticed that it was handling string and boolean parameters fine, but not arrays (used by config.templates_files
for example).
I have created a patch which fixes the problem for one dimensional arrays.
Please note that this doesn't handle multi-dimensional arrays (used by config.toolbar_Full
for example). I might have a go at it later when I'll have more time.
Comment | File | Size | Author |
---|---|---|---|
ckeditor_custom_js_conf_array_fix.patch | 725 bytes | tlaurent | |
Comments
Comment #1
dczepierga CreditAttribution: dczepierga commented@tlaurent, really thx for report this bug and for patch but i fix it in other way and now multi-dimensional arrays are also supported.
I also fix bug with one config option written in few lines - now everything should work without problem.
Fix will be ported to D7 asap.
Greetings
Comment #2
mkesicki CreditAttribution: mkesicki commentedI tested this and it works for me.
Comment #3
mkesicki CreditAttribution: mkesicki commented