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