angular-contenteditable
angular-contenteditable copied to clipboard
Leave text unformatted
Hello there,
I found useful to leave the text unformatted. Use case is as follow.
I want to use the contenteditable directive as an input field for a markdown document.
In such a scenario I will need the inserted text without html elements in the model but I will still need the
s in place of the newlines (\n) in the view. This last is the case where we update the model programmatically and we want to be displayed properly.