mirror of
https://github.com/outline/outline.git
synced 2026-11-28 00:09:58 +03:00
fix: prevent history search dropdown from opening upon cmd-k on selected text (#11288)
This commit is contained in:
1 parent
8324859de9
commit
c6177bc4d8
1 file changed
+1
@@ -163,6 +163,7 @@ export function SelectionToolbar(props: Props) {
|
||||
ev.key.toLowerCase() === "k" &&
|
||||
!view.state.selection.empty
|
||||
) {
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
if (activeToolbar === Toolbar.Link) {
|
||||
setActiveToolbar(Toolbar.Menu);
|
||||
|
||||
Reference in new issue
Block a user