-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
"Redo" button not working #436
Comments
Hey there, it looks like there is some sort of recursion in this code which is causing the issue:
I'm not really sure what the intent of |
hmm. Thanks for digging into the issue.
You may be right about the recursion though. I'll have to give it some thought. |
Investigated this further. The issue is still in the Tiptap package itself. 'Redo' is not firing the 'onUpdate' event in Tiptap itself, meaning that the state of the allpine component is not getting updated. While removing the setter in 'onUpdate' makes it work in the editor itself, it doesn't update the state in alpine, so saving the form wouldn't have the updated state of the redo. |
This is still a bug in the dependency, but I have a work around working in another version of the plugin I'm working on. Will try to get it back ported into this plugin if I can. |
Hey, came across this issue ueberdosis/tiptap#4821 then here, any update on this? |
Was working on this the other day. Still working on a fix. |
Filament Version
v3.2.95
Plugin Version
v3.4.5
PHP Version
PHP 8.3.8
Problem description
The "redo" button or shortcut is not working in editor, nothing happens.
Screen.Recording.2024-07-22.at.13.39.25.mov
Expected behavior
The "redo" button reverts the changes after pressing undo.
Steps to reproduce
Reproduction repository
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: