Skip to content

Conversation

garyg1
Copy link

@garyg1 garyg1 commented Sep 4, 2025

Fixes #1254. In the demo on https://jsonnet.org, if you hit redo/undo for multiple characters, the demo breaks. This seems to be because the browser generates multiple text change events (Chrome 139, MacOS 14.6).

Previous Behavior

https://jsonnet.org/

Screen.Recording.2025-09-02.at.8.12.12.PM.mov

New Behavior

Screen.Recording.2025-09-02.at.8.12.43.PM.mov

Copy link

google-cla bot commented Sep 4, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@garyg1 garyg1 changed the title Add synchronization to web demo (#1254) Fix handling of undo/redo events in web demo (#1254) Sep 4, 2025
@garyg1 garyg1 changed the title Fix handling of undo/redo events in web demo (#1254) Improve handling of undo/redo events in web demo (#1254) Sep 4, 2025
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

Successfully merging this pull request may close these issues.

Demo does not handle undo/redo events
1 participant