How to remove a style from the CKeditor (WYSIWYG)

Duncan Koza asked on September 24, 2019 21:41

Hi,

Is it possible to remove the H1 and H2 styles from the CKeditor? They appear under the Styles dropdown in the toolbar.

Correct Answer

Brenden Kehren answered on September 24, 2019 22:00

This can be done 2 ways:

You can modify the config.js file, follow this documentation. https://docs.kentico.com/k12/configuring-kentico/configuring-the-environment-for-content-editors/configuring-the-editor/personalizing-the-editor-toolbars-and-buttons

Of you tak modify the UI Personalization for a given role so they can't see the style button at all. See above referenced documentation for how to do that as well.

1 votesVote for this answer Unmark Correct answer

Recent Answers


Duncan Koza answered on September 25, 2019 23:01

Thanks Brenden,

It turns out I forgot to clear out my browsers cache when I was commenting out the H1 and H2 tags from the styles.js file.

Note to everyone else, make sure you also clear the system cache too.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.