Developer forum

Forum » CMS - Standard features » CK editor disable dropdown format options

CK editor disable dropdown format options

Rune Skovbo
Reply

Hi

 

Is there a way to disable or hide the dropdown list with font formatting?

We hav made out own list of styles and don't need the preset ones.

 

/Rune


Replies

 
Mikkel Ricky
Reply
This post has been marked as an answer

You can remove the "Font" and "Size" dropdowns by making sure that the key "font" in included in CKEDITOR.config.removePlugins, i.e. use something like

config.removePlugins = 'font';

in your editor configuration file.

Take a look at the sample configuration files in /Files/System/Editor/ckeditor/config/ for more info.

Best regards,
Mikkel

Votes for this answer: 1
 
Rune Skovbo
Reply

Argh, i meant the paragraph format, how du I remove that one. Have tried "format" and "paragraph" with no luck.

 

/Rune

 
Mikkel Ricky
Reply

Adding "format" to removePlugins will remove the dropdown with elements (h1, h2, …) and adding "stylescombo" will remove the styles drowdown.

 
Rune Skovbo
Reply

Cache...

All is good, thanks :-)

 

/Rune

 

You must be logged in to post in the forum