fix(editor): prevent sidebar collapse on Ctrl+B inside editor

This commit is contained in:
Abhinav Raut
2025-04-29 02:10:34 +05:30
parent 0b2c607cd3
commit 61ec075bd6

View File

@@ -208,6 +208,11 @@ const editorConfig = {
emit('send')
return true
}
if (event.ctrlKey && event.key.toLowerCase() === 'b') {
// Prevent outer listeners
event.stopPropagation()
return false
}
}
}
}