Skip to content

How do I create an initial editor state? #1731

@wmonecke

Description

@wmonecke

When a user creates a new document I would like to initialize the document with a heading with some text.
I know I can manually create an empty state, but this would mean getting the package version from my package.json.
Is there any built-in way to create a blank state?

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