From fffddc5eff27ef77c88b55add9d751864e7884fe Mon Sep 17 00:00:00 2001 From: Timur Ismagilov Date: Sun, 5 Sep 2021 14:55:13 +0300 Subject: [PATCH] =?UTF-8?q?Add=20=E2=8C=98;=20for=20insertDate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/shortcuts.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/shortcuts.js b/static/shortcuts.js index ebfe439..6b18ff4 100644 --- a/static/shortcuts.js +++ b/static/shortcuts.js @@ -344,7 +344,9 @@ ['Ctrl+.', 'Meta+.', wrapLifted, 'Format: Superscript'], ['Ctrl+Comma', 'Meta+Comma', wrapLowered, 'Format: Subscript'], ['Ctrl+X', 'Meta+Shift+x', wrapStrikethrough, 'Format: Strikethrough'], - ['Ctrl+k', 'Meta+k', wrapLink, 'Format: Link'], + ['Ctrl+k', 'Meta+k', wrapLink, 'Format: Inline link'], + // Apparently, ⌘; conflicts with a Safari's hotkey. Whatever. + ['Ctrl+;', 'Meta+;', insertDate, 'Insert date UTC'], ]; editorShortcuts.group('Editor', function () {