Ledzz / angular2-tinymce

Angular 2 component for TinyMCE MCE WYSIWYG editor
https://angular2-tinymce.surge.sh
66 stars 37 forks source link

How to check if the content is empty ? (only spaces, backspaces, ...) #82

Open AlixH opened 4 years ago

AlixH commented 4 years ago

Do you have any way of getting the content without the html wrapper ? I would like to check if the content is empty (not counting spaces, backspaces, line breaks, ... etc). Parsing it seeems pretty messy. Thanks !