Skip to content

Editor reports it has changes for empty text #1045

@nbradbury

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions