How can I change the 'default' editor toolbar?

Mark Daly asked on October 6, 2015 17:01

I modified /CMS/CMSAdminControls/CKEDitor/config.js to adjust some buttons for config.toolbar_Default (i.e., remove underline, add special characters) but when I save the file and refresh the page in Kentico 8 nothing changes. We've also stopped and restarted IIS but the toolbar doesn't change.

I checked to make sure the default toolbar is the one displaying on the page.

  1. Am I editing the right file?
  2. How can I get Kentico to recognize the change?

Thanks

Correct Answer

Brenden Kehren answered on October 6, 2015 17:07

You are editing the right file. What you need to do is add a web.config change <add key="CKEditor:DefaultToolbarSet" value="Full" /> you can change "FULL" to whatever your definitions are in the config file.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Mark Daly answered on October 6, 2015 17:18

I didn't want to change to the full editor, I just wanted to add/remove some buttons. And I've just been informed that the other editors are now seeing the right buttons. I, however, am still seeing the old buttons so cache is getting me again.

0 votesVote for this answer Mark as a Correct answer

Roman Hutnyk answered on October 6, 2015 19:50 (last edited on October 6, 2015 19:50)

Mark, You should be able to configure this based on role. Navigate the role in the Roles application, you'd like to adjust WYSIWYG buttons for, open UI Permissions tab -> Editor and uncheck buttons you don't want to show for that role.

0 votesVote for this answer Mark as a Correct answer

Mark Daly answered on October 6, 2015 19:58

Not sure I understand Roman. The checkboxes are checked for many buttons that don't show. When I modify the config.js file in the file system the buttons do - eventually - change. My browser was caching the previous view for some reason.

0 votesVote for this answer Mark as a Correct answer

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