Base on this code in config.js:
If I
All 3 items in links will be disable. How to disable only Link or Anchor?
{ name: 'links', items : [ 'Link','Unlink','Anchor' ] }
If I
config.removePlugins = 'link';
All 3 items in links will be disable. How to disable only Link or Anchor?
Re: How to remove individual plugin's item?
It does not make too much sense to leave disabled buttons in the toolbar, the users will wonder why they cannot access a feature that, apparently, could be accessible.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: How to remove individual plugin's item?
For the new ckeditor version 4.4
Anchor is a part of the Link plugin and you cannot remove it using the above code if you are using ckeditor 4.4.4. But the Anchor is button and to remove it just add its entry in the config.removeButtons or just add this in your config.js:
config.removeButtons = 'Anchor';
This worked for me..:)