Completed
Last Updated: 31 May 2016 13:28 by ADMIN
ADMIN
Nikolay
Created on: 20 May 2016 11:52
Category: UI for ASP.NET AJAX
Type: Bug Report
0
Pressing tab key in Chrome and Firefox does not do anything when selection is not in a table
The workaround is to use the RadEditor's tab functionality instead of browser's.

<telerik:RadEditor ID="RadEditor1" runat="server" OnClientLoad="OnClientLoad">
    <Content>
        <p>test</p>
        <p>test</p>
    </Content>
</telerik:RadEditor>

<script>
    function OnClientLoad(editor, args) {
        var shortcutManager = editor.get_shortCutManager();
        if (shortcutManager.findShortCutByName("InsertTabMozilla")) {
            shortcutManager.removeShortCut("InsertTabMozilla");
            editor.addShortCut("InsertTab", "TAB");
        }
    }
</script>
0 comments