WYSIWYG-Editor in der Admin: Wie unterbindet man die automatische Erstellung von HTML-Tags bei leerem Inhalt?

Hey das scheint bekanntest Problem vom JS Code vom Summernote WYSIWYG Editor Empty value should be empty? · Issue #143 · summernote/summernote · GitHub

Die Begründung warum dies so gelöst ist

The editing area needs <p><br></p> for focus, even if the editor content is empty. So Summernote supports this method for helping to check if editor content is empty.

Ein möglicher Workaround findest unter Empty value on submit · Issue #1330 · summernote/summernote · GitHub

1 Like