Download & Extend

[D6] Handling arrays in the "Custom javascript configuration"

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.

AttachmentSize
ckeditor_custom_js_conf_array_fix.patch725 bytes

Comments

#1

Title:Handling of the one dimensional arrays in the "Custom javascript configuration"» [D6] Handling arrays in the "Custom javascript configuration"
Status:patch (to be ported)» fixed

@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

Status:fixed» closed (fixed)
nobody click here