mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-06 12:02:45 +03:00
Fixed table cell p tag spacing and de-duped editor shortcuts
Also changed shortcuts to be better compatible with OSX by using the command key.
This commit is contained in:
@@ -54,10 +54,10 @@ function registerEditorShortcuts(editor) {
|
||||
}
|
||||
|
||||
// Other block shortcuts
|
||||
editor.addShortcut('ctrl+q', '', ['FormatBlock', false, 'blockquote']);
|
||||
editor.addShortcut('ctrl+d', '', ['FormatBlock', false, 'p']);
|
||||
editor.addShortcut('ctrl+e', '', ['FormatBlock', false, 'pre']);
|
||||
editor.addShortcut('ctrl+s', '', ['FormatBlock', false, 'code']);
|
||||
editor.addShortcut('meta+q', '', ['FormatBlock', false, 'blockquote']);
|
||||
editor.addShortcut('meta+d', '', ['FormatBlock', false, 'p']);
|
||||
editor.addShortcut('meta+e', '', ['FormatBlock', false, 'pre']);
|
||||
editor.addShortcut('meta+shift+E', '', ['FormatBlock', false, 'code']);
|
||||
}
|
||||
|
||||
var mceOptions = module.exports = {
|
||||
|
Reference in New Issue
Block a user