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

Can't undo / redo in paragraph block #17

Open
askonomm opened this issue Jul 26, 2021 · 1 comment
Open

Can't undo / redo in paragraph block #17

askonomm opened this issue Jul 26, 2021 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@askonomm
Copy link
Owner

No description provided.

@askonomm askonomm added the bug Something isn't working label Jul 26, 2021
@askonomm askonomm added this to the 0.2 milestone Jul 26, 2021
@askonomm
Copy link
Owner Author

I suppose this is technically not a bug, but it is something that is missing in the contentEditable and will require some sort of a history state in order to pull off. For example we'd detect if the user typed undo (cmd+z) and then go back in history by 1 position. If the user typed redo (cmd+y) we go forward in history by 1 position. To keep it from growing out of control, could limit the history to X items. Could also not, will have to see what the performance of it is.

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

1 participant