froala / angular-froala

Angular.js bindings for Froala WYSIWYG HTML Rich Text Editor.
https://froala.com/wysiwyg-editor
MIT License
306 stars 123 forks source link

bind to plain text when using Froala's editInPopup #137

Closed jnhansen closed 7 years ago

jnhansen commented 7 years ago

Is it possible to bind the angular model to plain text rather than HTML when using the Froala option 'editInPopup: true'?

stefanneculai commented 7 years ago

@jnhansen the editor is designed to output HTML. If you need plain text output, then it is best to strip the HTML out by using a Regular Expression.