angular-contenteditable icon indicating copy to clipboard operation
angular-contenteditable copied to clipboard

Leave text unformatted

Open davidecavaliere opened this issue 9 years ago • 0 comments

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.

davidecavaliere avatar Aug 24 '15 14:08 davidecavaliere