Opened 11 years ago
Closed 11 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: |
Description
Hi,
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: http://docs.ckeditor.com/#!/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):
- localy (working): http://jsfiddle.net/AeGWJ/
- globaly (not working): http://jsfiddle.net/KcvUm/
Change History (1)
comment:1 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
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 http://docs.ckeditor.com/#!/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.