Every time I try to save the form Add a new CKEditor profile the validation fails with the error Enter a valid toolbar configuration. but there is no indication as to what that means, or even what part of the form is failing validation.

I've tried this three times to add a profile, and every time validation fails, all the buttons I added to the toolbar disappear. VERY FRUSTRATING.

Please add a useful validation message, or at least indicate the field on the form that is causing the validation error.

Comments

jenlampton’s picture

Issue summary: View changes
jenlampton’s picture

Issue summary: View changes
fchandler’s picture

same here

learnbydrop’s picture

"Enter a valid toolbar configuration." error message showing, when creating a new profile.....

learnbydrop’s picture

Change the modifications::

File: modules/ckeditor/includes/ckeditor.admin.js

Remove this line 123:
(-) $("#edit-toolbar").attr('value',text);
(+) $("#edit-toolbar").val(text);

File: modules/ckeditor/includes/jqueryUI/sort.js

Remove this line 39:
(-) jQuery("#edit-toolbar").attr('value', tools);
(+) jQuery("#edit-toolbar").val(tools);

These modifications will resolved the issue, when creating a new profile.

acrosman’s picture

Status: Active » Closed (duplicate)