This is a migrated thread and some comments may be shown as answers.

Disable formatting shortcut keys

1 Answer 46 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
James Fraser
Top achievements
Rank 1
James Fraser asked on 12 Nov 2007, 09:57 PM
Hi, using full RADEditor for MOSS v4.4.1.0.

I have updated the tools.xml file to hide formatting buttons such as Bold and Italic for certain fields. However, users are still able to use shortcut keys to perform these functions. For example, even if I remove the Bold button from the Tools.xml file, a user can still select some text and use ctrl+B to format it.

Is there a way of preventing these shortcut keys from being used?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 13 Nov 2007, 02:44 PM
Hi James,

The Ctrl+B and Ctrl+I shortcuts are assigned to the Bold and Italic browser's commands. You can use them in an editable HTML elements such as DIV and IFRAME.

My suggestion is to assign the Ctrl+B and Ctrl+I shortcuts to some other editor's buttons for example the Help dialog and Insert Time button, e.g.

<tool name="Help" shortcut="Ctrl+B"/>
<tool name="InsertTime" shortcut="Ctrl+I"/>

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
WebParts for SharePoint
Asked by
James Fraser
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or