mirror of
https://github.com/abhinavxd/libredesk.git
synced 2025-10-23 05:11:57 +00:00
fix(editor): prevent sidebar collapse on Ctrl+B inside editor
This commit is contained in:
@@ -208,6 +208,11 @@ const editorConfig = {
|
||||
emit('send')
|
||||
return true
|
||||
}
|
||||
if (event.ctrlKey && event.key.toLowerCase() === 'b') {
|
||||
// Prevent outer listeners
|
||||
event.stopPropagation()
|
||||
return false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user