Posted by tlaurent on November 18, 2010 at 4:50pm
3 followers
Jump to:
| Project: | CKEditor - WYSIWYG HTML editor |
| Version: | 6.x-1.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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.
| Attachment | Size |
|---|---|
| ckeditor_custom_js_conf_array_fix.patch | 725 bytes |
Comments
#1
@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
#2
I tested this and it works for me.
#3