#14656 closed New Feature (invalid)
toolbar_Full not exposed in editorConfig() as it was in 3.x
Reported by: | Shawn A | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Toolbar | Version: | |
Keywords: | Cc: |
Description
In 3.x you used to be able to modify toolbar_full inside editorconfig as the config.toolbar_Full was exposed.
eg. config.toolbar_Full.push(About?);
Is there anyway to re-implement this, or is the way toolbars are built now make this no longer possible.
Change History (4)
comment:1 Changed 9 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Version: | 4.5.9 |
comment:2 Changed 9 years ago by
Yeah that only works on toolbars created in scope, toolbar_Full used to exist in the editorConfig(config) object.
This is specifically about toolbar_Full
the default cke toolbar not user toolbars.
comment:3 Changed 9 years ago by
If you were able to get to the default toolbar, you would probably be able to do the same thing but as I have said before this is more of a hack and in general we don't support modifying toolbar after it was defined.
comment:4 Changed 9 years ago by
Any suggestions welcome on how the default toolbar is generated internally so I can maybe provide some legacy support for my users. I tried finding it in the source, but have not had success.
From what I can see something like below works:
Please note however this this isn't recommended way of extending toolbar. This is more of a hack.
To learn more about toolbars please see: Please see: http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-toolbar and http://docs.ckeditor.com/#!/guide/dev_toolbarconcepts