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

Editor reports it has changes for empty text #1045

Open
nbradbury opened this issue Apr 14, 2023 · 0 comments
Open

Editor reports it has changes for empty text #1045

nbradbury opened this issue Apr 14, 2023 · 0 comments
Assignees
Labels

Comments

@nbradbury
Copy link
Contributor

The hasChanges() function always reports it has changes when first opened, even though nothing has been changed.

The problem is that initialEditorContentParsedSHA256 is initialized as an empty array, which doesn't match calculateSHA256("").

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

Successfully merging a pull request may close this issue.

1 participant