Opened 10 years ago

Closed 10 years ago

#11670 closed Bug (invalid)

Toolbar definition in global editorConfig does not work

Reported by: Ivan Čentéš Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:



I have troubles with configuring the toolbar. I want to configure it globaly for every editor, so I'm trying to use the CKEDITOR.editorConfig way. I followed the instructions seen here:!/guide/dev_toolbar

But no toolbar setting I try in CKEDITOR.editorConfig works. Other settings (uiColor, width, height, ...) do work.

I can configure toolbar using the "instance" settings: CKEDITOR.replace("...", {toolbar: ...});

Is this a bug, or am I doing something wrong? How to configure the toolbar globaly for every editor instance?

Examples (jsfiddle):

  1. localy (working):
  2. globaly (not working):

Change History (1)

comment:1 Changed 10 years ago by Jakub Ś

Resolution: invalid
Status: newclosed
Version: 4.3.2

I think it will be best if you just put these changes to ckeditor/config.js file.

Next please get familiar with!/api/CKEDITOR.config-cfg-customConfig.

What you did is in fact invalid. You should rather put that code into file and then point this file in above configuration option. I don't think however that in this case you need custom configuration file so just put your code into config.js and refresh browser cache just in case.

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