Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Customizing the Sitecore Rich Text Editor's default configuration

Using Sitecore 6.4, and I would like to customize the available buttons (eg Bold, Spell Check) given by the Rich Text Editor.

For clarification, I am referring to the popup editor displayed when you choose "Show Editor" from a particular Field's menu. I do not want to customize the editor on a per Item basis, rather globaly.

At first I had thought modifying the standard telerik config file (\sitecore\shell \Controls\Rich Text Editor\ToolsFile.xml) would work, however it does not seem to affect a change.

Another post mentioned opening the Content Editor and modifying the Html Editor Profiles node, however that does not exist in version 6.4.

Any help greatly appreciated.

like image 210
Rubias Avatar asked Feb 02 '11 15:02

Rubias


1 Answers

Yan Sklyarenko is right you're probably in the wrong database. If you've logged in under desktop mode you can see a database image on the bottom right and if you click on it you can change your context database to "Core". Alternately you can append the querystring key value pair "sc_content=core" to your url if you're in the content editor.

Once the Core database page is loaded you can open the content editor and browse to "/sitecore/system/Settings/Html Editor Profiles". There is a Rich Text Default folder which holds all the buttons that will be displayed when no source is set on your Rich Text field. Editing this list will affect your wysiwyg buttons on Rich Text fields that do not have a source field set to anything.

There are also a few other profile types and you can also create a custom profile folder with a mix of buttons. To get your wysiwyg to display these profiles you would need to set the source folder on your Rich Text fields at a template level (this would be back in the master database). I've written more a detailed explanation of this method here.

like image 94
mark stiles Avatar answered Sep 30 '22 12:09

mark stiles