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

Undo during text input doesn't work #144

Open
T3sT3ro opened this issue Jul 21, 2024 · 2 comments
Open

Undo during text input doesn't work #144

T3sT3ro opened this issue Jul 21, 2024 · 2 comments

Comments

@T3sT3ro
Copy link

T3sT3ro commented Jul 21, 2024

When writing using the text tool, the undo doesn't work (it should rollback last inputted letters/words.

@dwelle
Copy link
Member

dwelle commented Jul 22, 2024

Hi. What is the expectation here? You want the in-app undo/redo to work when you're in the text editor?

We should keep the default browser behavior when it comes to text inputs.

@T3sT3ro T3sT3ro changed the title Undo during tet input doesn't work Undo during text input doesn't work Jul 22, 2024
@T3sT3ro
Copy link
Author

T3sT3ro commented Jul 22, 2024

Hello, the excalidraw web app allows me to use CTRL+Z/CTRL+SHIFT+Z to undo and redo the action of inputting words during the editing of the text and creating a text area. It is similar to how I am using it during writing this comment: CTRL+Z to roll back several of the last input letters/words. It is so natural for me to use while I edit text to fix types, that I was really surprised when I noticed it doesn't work in VS Code.

To test it for yourself, try selecting the text tool, creating new textbox and start typing. In the web app you can no problem use CTRL+Z to undo several words and creation of the textbox, but the same doesn't seem to be working in VS Code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants