editor
editor copied to clipboard
`required` option allows saving empty block
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.