Closed dmzza closed 5 years ago
The MDN page on that is interesting as well https://developer.mozilla.org/en-US/docs/Web/CSS/user-modify I am little surprised that this is needed, however I currently do not see any downsides on adding the property. Thanks for the PR.
released 1.0.4
Thanks for accepting this so quickly and releasing a new version with the latest dependencies. The addon has been a pleasure to use!
The -webkit-user-modify property was missing from the CSS.
With this property set on all [contenteditable] elements, Safari and Chrome deal with line breaks correctly. Additionally, it is just the right thing to do.
I used
read-write-plaintext-only
because this ember addon does not preserve rich text formatting from pasted text.See Related Safari Documenation