Skip to content

Should warn if the document is empty #171

@johnstonmatt

Description

@johnstonmatt

The Glade Document hash for an empty document, ie:

<glade-annotatable></glade-annotatable>

is "0", this is intended, but because there is a chance glade just ran too early before the content inside is ready (for example in react) we should probably warn the user that their document is empty.

Maybe if we observe mutations on inner DOM and react to them this is a non-issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions