Forgive me if this has already been explained somewhere, but I couldn't find the answer in my search of the forum.
According to the documentation, there's supposedly a file somewhere called "fckconfig.js" which I am supposed to edit to change and remove buttons. The trouble is, fckconfig.js....doesn't seem to exist in the current version of CKeditor. Am I wrong? It looks like config.js is loading in a bunch of plug ins, but I don't see where you'd go to edit the toolbars and remove a few of those buttons.
Now, what I'd like to do is get rid of the forms toolbar, I'd like to get rid of the Flash button, the insert smiley button, the insert table button, the insert line break for print button. I'd like to remove the toolbar for formatting text color, I'd like to remove the "Maximize/ Show blocks" toolbar, and I'd like to remove the options to format font, size and style.
Is there any possible way to accomplish that in the new CKEditor?
Thank you so much for your help!
According to the documentation, there's supposedly a file somewhere called "fckconfig.js" which I am supposed to edit to change and remove buttons. The trouble is, fckconfig.js....doesn't seem to exist in the current version of CKeditor. Am I wrong? It looks like config.js is loading in a bunch of plug ins, but I don't see where you'd go to edit the toolbars and remove a few of those buttons.
Now, what I'd like to do is get rid of the forms toolbar, I'd like to get rid of the Flash button, the insert smiley button, the insert table button, the insert line break for print button. I'd like to remove the toolbar for formatting text color, I'd like to remove the "Maximize/ Show blocks" toolbar, and I'd like to remove the options to format font, size and style.
Is there any possible way to accomplish that in the new CKEditor?
Thank you so much for your help!
Re: How to remove buttons in the new CK editor?
you can create your own toolbars with whatever buttons you want in whatever order you want by doing this:
1) set up a bespoke toolbar
Re: How to remove buttons in the new CK editor?
edit: nevermind, I think someone fixed the documentation to tell me what I want to know!
Thankyouthankyou!
Re: How to remove buttons in the new CK editor?
Re: How to remove buttons in the new CK editor?
But what if I want to remove a button from the toolbar dynamically.
Is it the only way to do like this?
...
var name = editor.name;
editor.destroy();
CKEDITOR.replace(name, { toolbar: toolbarName });
...
It means destroying an instance of an editor and then recreation of it.
It may be performance-costly.