st-h / ember-content-editable

A contenteditable component for ember-cli that just works™
MIT License
66 stars 31 forks source link

Pasted Text is not displayed as plain-text but rather with formatting. #23

Closed heeren-cliqz closed 6 years ago

heeren-cliqz commented 8 years ago

Package version: 0.9.0 Summary: I have a content-editable tag

{{content-editable value=article.domain
                       placeholder="Article Domain"
                       disabled=article.editableDisabled
                       enter='handleEnter'
                       escape-press='handleEsc'
                       type="text"
                       tagName="span"}}

When I am copying a paste with a website and putting this inside its coming with all the formatting as shown in the picture below {To show this issue, please look at topmost container. Rest of the content-editable tags are same}. screen shot 2016-07-22 at 09 51 51

Though when I reload the page then this formatting is gone and its been displayed like a plain text in that field.

st-h commented 6 years ago

should be fixed in 1.0.0