mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-08 20:57:08 +08:00
fix: lint problems
This commit is contained in:
@@ -1,67 +1,66 @@
|
|||||||
export const macKeyboardShortcuts = {
|
export const macKeyboardShortcuts = {
|
||||||
Undo: '⌘+Z',
|
Undo: '⌘+Z',
|
||||||
Redo: '⌘+⇧+Z',
|
Redo: '⌘+⇧+Z',
|
||||||
Bold: '⌘+B',
|
Bold: '⌘+B',
|
||||||
Italic: '⌘+I',
|
Italic: '⌘+I',
|
||||||
Underline: '⌘+U',
|
Underline: '⌘+U',
|
||||||
Strikethrough: '⌘+⇧+S',
|
Strikethrough: '⌘+⇧+S',
|
||||||
'Inline code': ' ⌘+E',
|
'Inline code': ' ⌘+E',
|
||||||
Link: '⌘+K',
|
Link: '⌘+K',
|
||||||
'Body text': '⌘+⌥+0',
|
'Body text': '⌘+⌥+0',
|
||||||
'Heading 1': '⌘+⌥+1',
|
'Heading 1': '⌘+⌥+1',
|
||||||
'Heading 2': '⌘+⌥+2',
|
'Heading 2': '⌘+⌥+2',
|
||||||
'Heading 3': '⌘+⌥+3',
|
'Heading 3': '⌘+⌥+3',
|
||||||
'Heading 4': '⌘+⌥+4',
|
'Heading 4': '⌘+⌥+4',
|
||||||
'Heading 5': '⌘+⌥+5',
|
'Heading 5': '⌘+⌥+5',
|
||||||
'Heading 6': '⌘+⌥+6',
|
'Heading 6': '⌘+⌥+6',
|
||||||
'Increase indent': 'Tab',
|
'Increase indent': 'Tab',
|
||||||
'Reduce indent': '⇧+Tab',
|
'Reduce indent': '⇧+Tab',
|
||||||
};
|
};
|
||||||
|
|
||||||
export const macMarkdownShortcuts = {
|
export const macMarkdownShortcuts = {
|
||||||
Bold: '**Text** ',
|
Bold: '**Text** ',
|
||||||
Italic: '*Text* ',
|
Italic: '*Text* ',
|
||||||
Underline: '~Text~ ',
|
Underline: '~Text~ ',
|
||||||
Strikethrough: '~~Text~~ ',
|
Strikethrough: '~~Text~~ ',
|
||||||
'Inline code': '`Text` ',
|
'Inline code': '`Text` ',
|
||||||
'Heading 1': '# Text',
|
'Heading 1': '# Text',
|
||||||
'Heading 2': '## Text',
|
'Heading 2': '## Text',
|
||||||
'Heading 3': '### Text',
|
'Heading 3': '### Text',
|
||||||
'Heading 4': '#### Text',
|
'Heading 4': '#### Text',
|
||||||
'Heading 5': '##### Text',
|
'Heading 5': '##### Text',
|
||||||
'Heading 6': '###### Text',
|
'Heading 6': '###### Text',
|
||||||
};
|
};
|
||||||
|
|
||||||
export const windowsKeyboardShortcuts = {
|
export const windowsKeyboardShortcuts = {
|
||||||
Undo: 'Ctrl+Z',
|
Undo: 'Ctrl+Z',
|
||||||
Redo: 'Ctrl+Y',
|
Redo: 'Ctrl+Y',
|
||||||
Bold: 'Ctrl+B',
|
Bold: 'Ctrl+B',
|
||||||
Italic: 'Ctrl+I',
|
Italic: 'Ctrl+I',
|
||||||
Underline: 'Ctrl+U',
|
Underline: 'Ctrl+U',
|
||||||
Strikethrough: 'Ctrl+Shift+S',
|
Strikethrough: 'Ctrl+Shift+S',
|
||||||
'Inline code': ' Ctrl+E',
|
'Inline code': ' Ctrl+E',
|
||||||
Link: 'Ctrl+K',
|
Link: 'Ctrl+K',
|
||||||
'Body text': 'Ctrl+Shift+0',
|
'Body text': 'Ctrl+Shift+0',
|
||||||
'Heading 1': 'Ctrl+Shift+1',
|
'Heading 1': 'Ctrl+Shift+1',
|
||||||
'Heading 2': 'Ctrl+Shift+2',
|
'Heading 2': 'Ctrl+Shift+2',
|
||||||
'Heading 3': 'Ctrl+Shift+3',
|
'Heading 3': 'Ctrl+Shift+3',
|
||||||
'Heading 4': 'Ctrl+Shift+4',
|
'Heading 4': 'Ctrl+Shift+4',
|
||||||
'Heading 5': 'Ctrl+Shift+5',
|
'Heading 5': 'Ctrl+Shift+5',
|
||||||
'Heading 6': 'Ctrl+Shift+6',
|
'Heading 6': 'Ctrl+Shift+6',
|
||||||
'Increase indent': 'Tab',
|
'Increase indent': 'Tab',
|
||||||
'Reduce indent': 'Shift+Tab',
|
'Reduce indent': 'Shift+Tab',
|
||||||
};
|
};
|
||||||
export const winMarkdownShortcuts = {
|
export const winMarkdownShortcuts = {
|
||||||
Bold: '**Text** ',
|
Bold: '**Text** ',
|
||||||
Italic: '*Text* ',
|
Italic: '*Text* ',
|
||||||
Underline: '~Text~ ',
|
Underline: '~Text~ ',
|
||||||
Strikethrough: '~~Text~~ ',
|
Strikethrough: '~~Text~~ ',
|
||||||
'Inline code': '`Text` ',
|
'Inline code': '`Text` ',
|
||||||
'Heading 1': '# Text',
|
'Heading 1': '# Text',
|
||||||
'Heading 2': '## Text',
|
'Heading 2': '## Text',
|
||||||
'Heading 3': '### Text',
|
'Heading 3': '### Text',
|
||||||
'Heading 4': '#### Text',
|
'Heading 4': '#### Text',
|
||||||
'Heading 5': '##### Text',
|
'Heading 5': '##### Text',
|
||||||
'Heading 6': '###### Text',
|
'Heading 6': '###### Text',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user