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

required option allows saving empty block #263

Open
jhogervorst opened this issue Sep 25, 2020 · 0 comments
Open

required option allows saving empty block #263

jhogervorst opened this issue Sep 25, 2020 · 0 comments

Comments

@jhogervorst
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant