Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
99321fc4
Commit
99321fc4
authored
Oct 29, 2013
by
Julia Hansbrough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed alt-tab, alt-shift-tab, shift-tab
parent
42615692
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
6 deletions
+23
-6
lms/static/js/wiki/accessible.js
+23
-6
No files found.
lms/static/js/wiki/accessible.js
View file @
99321fc4
...
@@ -2,9 +2,25 @@
...
@@ -2,9 +2,25 @@
users to "tab through" elements on a page. Including this file and setting keyMap to
users to "tab through" elements on a page. Including this file and setting keyMap to
"accessible" removes the "tab" from CodeMirror's default KeyMap to remedy this problem */
"accessible" removes the "tab" from CodeMirror's default KeyMap to remedy this problem */
var
keyMap
=
CodeMirror
.
keyMap
.
accessible
=
{
(
function
()
{
"Left"
:
"goCharLeft"
,
"Right"
:
"goCharRight"
,
"Up"
:
"goLineUp"
,
"Down"
:
"goLineDown"
,
var
keyMap
=
CodeMirror
.
keyMap
.
accessible
=
{
"End"
:
"goLineEnd"
,
"Home"
:
"goLineStartSmart"
,
"PageUp"
:
"goPageUp"
,
"PageDown"
:
"goPageDown"
,
"Left"
:
"goCharLeft"
,
"Delete"
:
"delCharRight"
,
"Backspace"
:
"delCharLeft"
,
"Shift-Tab"
:
"indentAuto"
,
"Right"
:
"goCharRight"
,
"Enter"
:
"newlineAndIndent"
,
"Insert"
:
"toggleOverwrite"
"Up"
:
"goLineUp"
,
};
"Down"
:
"goLineDown"
,
"End"
:
"goLineEnd"
,
"Home"
:
"goLineStartSmart"
,
"PageUp"
:
"goPageUp"
,
"PageDown"
:
"goPageDown"
,
"Delete"
:
"delCharAfter"
,
"Backspace"
:
"delCharBefore"
,
"Shift-Backspace"
:
"delCharBefore"
,
"Alt-Tab"
:
"insertTab"
,
"Alt-Shift-Tab"
:
"insertTab"
,
"Tab"
:
false
,
"Shift-Tab"
:
false
,
"Enter"
:
"newlineAndIndent"
,
"Insert"
:
"toggleOverwrite"
,
fallthrough
:
"default"
};
})();
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment