Skip to content

Value of empty summernote is not empty string #53

Description

@im1dermike

The value of a summernote model before entering text is an empty string as expected. But if you enter text and then remove it, the value of the summernote model is <br>. This ruins ngRequired.

Oddly enough, in my testing, if you type text into an empty summernote, then remove it, its value is <br>. But if you add some hard returns to the empty summernote, then delete them, its value is an empty string.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions