Skip to content

Commit 1b84a39

Browse files
committed
refactor: remove cookie preference check for table shortcuts
1 parent 282ba60 commit 1b84a39

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

public/js/lib/editor/table-editor.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,6 @@ export function initTableEditor (editor) {
141141
}
142142
}
143143

144-
// Check cookie for saved preference
145-
const cookieDisableTableShortcuts = window.Cookies && window.Cookies.get('preferences-disable-table-shortcuts')
146-
if (cookieDisableTableShortcuts && cookieDisableTableShortcuts === 'true') {
147-
shortcutsEnabled = false
148-
}
149-
150144
// keymap of the commands
151145
// from https://github.com/susisu/mte-demo/blob/master/src/main.js
152146
const keyMap = CodeMirror.normalizeKeyMap({

0 commit comments

Comments
 (0)