CollaborationCursor
history not working together with BubbleMenu
component
#2827
Closed
1 of 2 tasks
Labels
Type: Bug
The issue or pullrequest is related to a bug
What’s the bug you are facing?
CollaborationCursor
extension comes in with its own history and its working as expected until I've added<BubbleMenu />
component.I tried dropping
<BubbleMenu />
component and usedBubbleMenu
extension from@tiptap/extension-bubble-menu
instead and history started working as expected again. But I would prefer to use<BubbleMenu />
component.Worth mentioning that I've disabled
history
extension fromStarterKit
, otherwise it produces following warning:Which browser was this experienced in? Are any special extensions installed?
Chrome, Firefox. No special extensions.
How can we reproduce the bug on our side?
Try using history options
editor.chain().focus().undo().run()
oreditor.chain().focus().redo().run()
fromCollaborationCursor
together with<BubbleMenu />
component. History should not work.Comment out
<BubbleMenu />
and history should work again.Can you provide a CodeSandbox?
https://codesandbox.io/s/sad-chaum-ti1296?file=/src/_app.js
What did you expect to happen?
I have expected that history functions should work as described.
Anything to add? (optional)
No response
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: