1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-01-20 23:36:51 +00:00

Shortcuts: Add Ctrl/Cmd + Shift + Enter for preview

This commit is contained in:
Timur Ismagilov 2022-08-20 23:16:14 +05:00
parent 0b9dc5c2a6
commit aaff38a61c

View File

@ -363,6 +363,7 @@ window.addEventListener('load', () => {
editorShortcuts.group(function () {
this.bindElement(isMac ? 'Meta+Enter' : 'Ctrl+Enter', $('.edit-form__save'), 'Save changes');
this.bindElement(isMac ? 'Meta+Shift+Enter' : 'Ctrl+Shift+Enter', $('.edit-form__preview'), 'Preview changes');
});
}
});