forked from WorldBrain/Memex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.js
34 lines (28 loc) · 1.09 KB
/
constants.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
export const TOOLTIP_DEFAULT_OPTION = true
export const POSITION_DEFAULT_OPTION = 'mouse'
export const TOOLTIP_STORAGE_NAME = 'memex_link_tooltip'
export const POSITION_STORAGE_NAME = 'memex_link_position'
export const INFO_URL =
'https://worldbrain.helprace.com/i62-feature-memex-links-highlight-any-text-and-create-a-link-to-it'
export const KEYBOARDSHORTCUTS_STORAGE_NAME = 'memex-keyboardshortcuts'
export const KEYBOARDSHORTCUTS_DEFAULT_STATE = {
shortcutsEnabled: true,
highlightShortcut: 'n',
linkShortcut: 'l',
toggleSidebarShortcut: 'r',
toggleHighlightsShortcut: 'h',
createAnnotationShortcut: 'a',
createBookmarkShortcut: 'b',
addTagShortcut: 't',
addToCollectionShortcut: 'u',
addCommentShortcut: 'c',
highlightShortcutEnabled: true,
linkShortcutEnabled: true,
toggleSidebarShortcutEnabled: true,
toggleHighlightsShortcutEnabled: true,
createAnnotationShortcutEnabled: true,
createBookmarkShortcutEnabled: true,
addTagShortcutEnabled: true,
addToCollectionShortcutEnabled: true,
addCommentShortcutEnabled: true,
}