editor icon indicating copy to clipboard operation
editor copied to clipboard

`required` option allows saving empty block

Open jhogervorst opened this issue 4 years ago • 0 comments

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.

jhogervorst avatar Sep 25 '20 17:09 jhogervorst