Skip to content

Editor reports it has changes for empty text #1045

Description

@nbradbury

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("").

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions