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

fix: selection and expanded state not always stored correctly in history #73

Merged
merged 3 commits into from
Apr 28, 2022

Conversation

josdejong
Copy link
Owner

The internal patch method now has an optional afterPatch callback which allows you to adjust the json, state, and selection right after the patch was applied, and before the changes are added to history and emitted.

@josdejong josdejong merged commit 702fba1 into main Apr 28, 2022
@josdejong josdejong deleted the fix/patch_refactor branch April 28, 2022 13:34
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.

1 participant