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

Add editor panel undo button #141

Open
barnettwilliam opened this issue Dec 7, 2023 · 3 comments
Open

Add editor panel undo button #141

barnettwilliam opened this issue Dec 7, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@barnettwilliam
Copy link
Collaborator

There is no undo button for editor panels. Feedback from the MDENet Symposium indicated that an undo button would be helpuful so that any changes made can be easily reverted and would reassure learners who are unfamiliar with the models/languages used when modifying the panel contents.

@jgsuess
Copy link
Collaborator

jgsuess commented Dec 9, 2023

This requires command pattern and sessions, I am unsure if these are part of the implementation. You would need a framework that does this from the start.

@agarciadom
Copy link
Collaborator

This may just be part of the Ace editor or even the browser's basic functionality. If I just go to the Ace website and type something into their demo editor, I can then press Ctrl+Z for undo. I assume this functionality will be available through some browser/Ace editor API.

@szschaler
Copy link
Contributor

Yes, ACE has an UndoManager that will make this trivial to add. It's just about making available existing functionality also through a button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

4 participants