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

Disabling F11 shortcut fo full screen.

2 Answers 91 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Sébastien
Top achievements
Rank 1
Sébastien asked on 27 Jul 2010, 03:39 PM
I want to keep the my editor really simple, so I decided to not use the Full Screen button. My problem is that if I click on F11 the function is still available because the shortcut is hardcoded. How to disable this fonctionality?

Sébastien

2 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 27 Jul 2010, 03:53 PM
Hello Sébastien,

You can easily disable the F11 shortcut of the editor's ToggleScreenMode command using the code below:

<script type="text/javascript">
    function OnClientLoad(editor) {
        editor.removeShortCut("ToggleScreenMode");
    }
</script>
<telerik:RadEditor runat="server" ID="RadEditor1" OnClientLoad="OnClientLoad">
    <Content>sample content</Content>
</telerik:RadEditor>


Greetings,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Sébastien
Top achievements
Rank 1
answered on 27 Jul 2010, 04:10 PM
Perfect!
Tags
Editor
Asked by
Sébastien
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Sébastien
Top achievements
Rank 1
Share this question
or