lint
This commit is contained in:
parent
3851d17540
commit
0615476dd9
|
@ -33,7 +33,7 @@ export const MicroBubbleMenu = (props: MicroBubbleMenuProps) => {
|
||||||
|
|
||||||
const handleKeyDown = (event: KeyboardEvent) => {
|
const handleKeyDown = (event: KeyboardEvent) => {
|
||||||
// handle ctrl+k to insert link
|
// handle ctrl+k to insert link
|
||||||
if (
|
if (
|
||||||
event.code === 'KeyK' &&
|
event.code === 'KeyK' &&
|
||||||
(event.metaKey || event.ctrlKey) &&
|
(event.metaKey || event.ctrlKey) &&
|
||||||
!props.editor()?.state.selection.empty
|
!props.editor()?.state.selection.empty
|
||||||
|
|
Loading…
Reference in New Issue
Block a user