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

[SuperEditor] Support undo/redo #67

Open
matthew-carroll opened this issue Mar 25, 2021 · 10 comments
Open

[SuperEditor] Support undo/redo #67

matthew-carroll opened this issue Mar 25, 2021 · 10 comments
Labels
area_supereditor Pertains to SuperEditor customer_superlist Needed by Superlist type_enhancement New feature or request

Comments

@matthew-carroll
Copy link
Contributor

matthew-carroll commented Mar 25, 2021

Refactor all existing DocumentEditor behaviors to support undo/redo, probably by way of an event-source solution.

@matthew-carroll matthew-carroll changed the title Make node changes work with edit transactions [SuperEditor] Support undo/redo Jun 5, 2021
@matthew-carroll matthew-carroll added area_supereditor Pertains to SuperEditor type_enhancement New feature or request labels Jun 5, 2021
@matthew-carroll matthew-carroll added this to the v1.0.0 milestone Jun 5, 2021
@brian-superlist brian-superlist added the customer_superlist Needed by Superlist label Oct 6, 2021
@bk-one bk-one modified the milestones: v1.0.0, v0.3.0 - Undo/Redo Mar 23, 2022
@ChenHaoTech
Copy link

It's October 2023 now. why hasn't it been changed? how can I support undo redo? 😢

@WillianSalceda
Copy link

Any updates?

@matthew-carroll
Copy link
Contributor Author

We've migrated to atomic commands, which was a critical pre-requisite for undo/redo. We're still vetting that system, which is comprised of requests, commands, and reactions.

We haven't started working directly on undo/redo yet.

@alterhuman
Copy link

@matthew-carroll @angelosilvestre any plans on this? This is a pretty important feature for any editor.

@matthew-carroll
Copy link
Contributor Author

This is being developed right now

@simonbengtsson
Copy link

simonbengtsson commented Jun 9, 2024

This would be awesome! My use case for this is native fidelity. Undo/redo with cmd + z and cmd + shift + z is the only thing I'm personally experiencing as being different when writing on desktop in super editor compared to Flutter's text field or native text fields on macOS such as those in Safari or Apple Notes etc. When writing on macOS I'm often using undo/redo to undo/redo a deletion or undo/redo pasted content etc.

The editor I'm working on is light and have no immediate requirements for custom components etc. The main reason I want to use a third party editor such as super editor compared to Flutter's text field is the the support for ordered and unordered lists in addition to the easier way to add support for styling such as bold and code formatted text.

@matthew-carroll
Copy link
Contributor Author

@simonbengtsson can you clarify whether you're asking for this in SuperEditor or SuperTextField? One is a document editor, the other is a text field.

@simonbengtsson
Copy link

simonbengtsson commented Jun 9, 2024

Right! I should have posted this in #189 if I had found this before posting since my use case is actually a text field I believe. It is applicable to both however ie the undo/redo use case as described above is the same for both document editors such as the one in Google Docs and text fields such as the one here on Github where I'm writing this comment.

@hannutho
Copy link

Hey! How is development going on this? When is a initial version expected to be released?

@matthew-carroll
Copy link
Contributor Author

@hannutho please see #1900 for the status of the work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area_supereditor Pertains to SuperEditor customer_superlist Needed by Superlist type_enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

8 participants