Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

History using the Collaboration extension doesn't seem to work #609

Closed
kongweiying2 opened this issue May 19, 2023 · 7 comments
Closed

History using the Collaboration extension doesn't seem to work #609

kongweiying2 opened this issue May 19, 2023 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@kongweiying2
Copy link

Description
I'm currently using the Collaboration extension which comes with its own history handling, except pressing CMD + Z doesn't seem to do anything.

Steps to reproduce the bug
Steps to reproduce the behaviour:

  1. Go to https://lifemap-git-flow-switch-eusaybia.vercel.app/
  2. Type something
  3. Press the undo keyboard shortcut
  4. Nothing happens

Expected behaviour
The undo and redo functionality should work

Screenshot, video, or GIF
If applicable, add screenshots to help explain your problem.

Environment?

  • operating system: MacOS 13.1
  • browser: Arc Browser, Safari
  • mobile/desktop:
  • Hocuspocus version: 1.0.0

Additional context
Here's a code example:
https://stackblitz.com/edit/react-ts-ucahst?file=README.md,src%2Fcore%2FQi.tsx,src%2Fview%2Fcontent%2FRichText.tsx

@kongweiying2 kongweiying2 added the bug Something isn't working label May 19, 2023
@svenadlung
Copy link
Member

Please try using stable version (v2.0.3).

@kongweiying2
Copy link
Author

@svenadlung I just tried upgrading and it didn't make a difference

@svenadlung
Copy link
Member

It should be released with 2.0.0 (ueberdosis/tiptap#3901)

Can you please create a fresh sandbox with updated dependencies?

@janthurau
Copy link
Collaborator

@kongweiying2 just to make sure, @svenadlung is talking about tiptap version, not hocuspocus :-)

@svenadlung
Copy link
Member

Oh yes, sorry, I thought this is an issue in Tiptap repo 😂

@kongweiying2
Copy link
Author

Ah ok, I updated hocuspocus not tiptap, I'll trying updating tiptap too and report back if it works :D

@kongweiying2
Copy link
Author

@janthurau @svenadlung Looks like it was fixed after updating tiptap, thanks guys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants