I am making a custom link plugin in Ckeditor and pretty much wanted to see if it could replace the default link plugin (maybe replace isn't the right word for it. I merely want to hide/ remove it).
I have tried using the config.removeplugins to remove the link plugin in but it removes the unlink command as well when i only want the link plugin to be removed. I was wondering if it is possible to do what I described.
For reference this is what I used in the config file that resulted in the removal of both the link and unlink plugins:
config.removePlugins= "link";
Thanks for any hep or suggestions you may send my way
Solved
Just an update to say that I managed to find a solution to my problem. For the sake of leaving a solution to anyone who has a similar problem I decided to post what I did.
I removed the button for the default link by simply deleting it from the selection of buttons on the config file. Then in order to get rid of the default link command from the context menu I used the following command:
delete editor._.menuItems.link;
I put this at the top of my custom plugin. For other plugins just replace 'link' with the name of the plugin you want to remove from the context menu. I hope this helps people