Stiky textBubbleMenu (#131)

This commit is contained in:
Ilya Y 2023-07-18 14:21:55 +03:00 committed by GitHub
parent f86108ba20
commit 1fa502c6f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,6 +177,9 @@ export const Editor = (props: EditorProps) => {
setIsCommonMarkup(e.isActive('figure'))
return view.hasFocus() && !empty && !isEmptyTextBlock && !e.isActive('image')
},
tippyOptions: {
sticky: true
}
}),
BubbleMenu.configure({