Skip to content

Modifying RadEditor in Sharepoint: Removing Toolbar Buttons

May 25, 2010

My first task in modifying the RadEditor under Sharepoint is removing certain toolbar buttons to prevent users from creating content that is not in accordance with our website’s style guidelines. Namely, removing the underline tool. This is easy. All you have to do is open your ToolsFile.xml file (located in \RadEditorSharePoint\[version string]\Resources\) and comment out the tools you don’t want to show up. The XML file is pretty self-explanatory; each tool has a tag like the one below with its name and maybe a keyboard shortcut. To hide a tool, comment out only that self-closing <tool /> tag. For example, to hide the underline tool, just find

<tool name="Underline" />

And change it to

<!--<tool name="Underline" />-->

By commenting the tools out instead of deleting them completely, if you ever change your mind and want a tool back, you can simply uncomment it and have it available again.

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: