editor-js / paragraph

Paragraph Tool for Editor.js 2.0
MIT License
44 stars 125 forks source link

Add preserverBlank config option #30

Closed Benjadahl closed 4 years ago

Benjadahl commented 4 years ago

Added a config option to allow for validation of blank paragraphs if set to true. This is useful if you want to keep blank lines, when saving data from the editor.