Opened 9 years ago

Last modified 9 years ago

#13091 confirmed Bug

config.extraPlugins white space in string produces load resource error

Reported by: Heinz Owned by:
Priority: Normal Milestone:
Component: Documentation & Samples Version: 3.0
Keywords: Cc:

Description

config.extraPlugins = 'timestamp, savebtn';

the "white space / blank" after the comma in the assembled string 'timestamp, savebtn' in CKEditor.config produces a "resource not found" error and leads finally to a missing plugin.

A very tough bug since it is hidden and one expects white spaces usually in such strings to be stripped. So one does recognize the issue immediatly.

Change History (1)

comment:1 Changed 9 years ago by Jakub Ś

Component: GeneralDocumentation & Samples
Status: newconfirmed
Version: 4.4.73.0

It is hard to clasify it as "hidden bug" because browsers e.g. Chrome or Firefox report that " savebtn" was not found. They state exactly that "[space]pluginName" can't be found. Taking into account that this is first report of such type I propose to confirm it as documentation bug.

This is how it was designed and developer should honour these rules however it would be more than desired in documentation http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-extraPlugins contained something like - NOTE: plugin names can only be separated by comma.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy