chuckh / polymer-quill

Polymer Quill Rich Text Editor
51 stars 29 forks source link

Store blank content as "" or null instead of "<p><br></p>" #25

Open ghost opened 7 years ago

ghost commented 7 years ago

When I remove all content from a polymer-quill editor (with 'store-as="html"'), I see the variable bound to "content" is set to <p><br></p>. Is there a way the component could instead set to a blank string "" or even null when empty? Makes it a bit awkward to check against.