Skip to content
This repository was archived by the owner on Feb 11, 2021. It is now read-only.
This repository was archived by the owner on Feb 11, 2021. It is now read-only.

required option allows saving empty block #263

@jhogervorst

Description

@jhogervorst

When the editor is used with the option required: true, it passes validation when an empty block is inserted (like an empty paragraph).

From a technical perspective, I understand that the field is not empty when a block is present.

However, from a practical perspective, I want to require having a value in a field if I set required: true, and an empty paragraph does not satisfy that.

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