Disable formatting shortcut keys

2 posts, 0 answers
  1. James Fraser
    James Fraser avatar
    5 posts
    Member since:
    Jun 2004

    Posted 12 Nov 2007 Link to this post

    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?
  2. Rumen
    Rumen avatar
    12788 posts

    Posted 13 Nov 2007 Link to this post

    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,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

Back to Top