You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Steps to reproduce:
Open either 'color' or 'rich' example in IE or Edge browser.
Write some text and use rich styles and/or colors
copy and paste the text.
Current behavior:
IE 11.567 - newlines and styles are dropped completely
Edge - only styles that are enabled for the place you paste into are applied, and newlines are preserved. See attached screenshots.
Expected behavior:
Styles and newlines should both be preserved, like in Chrome. If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/stopachka/m6z0xn4r/.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
I'm not sure when this snuck into Draft. I don't think it came up in previous versions but seems to be present both on master and in v0.10.0. I don't think it was present before v0.10.0.
IE:
Edge:
IE:
Edge:
The text was updated successfully, but these errors were encountered:
@flarnie is this issue still being targeted for an upcoming release? I noticed it didn't make the cut for v0.10.1 and was hoping to avoid implementing the changes from the various forks mentioned in #986.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Steps to reproduce:
Current behavior:
IE 11.567 - newlines and styles are dropped completely
Edge - only styles that are enabled for the place you paste into are applied, and newlines are preserved. See attached screenshots.
Expected behavior:
Styles and newlines should both be preserved, like in Chrome.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/stopachka/m6z0xn4r/.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
I'm not sure when this snuck into Draft. I don't think it came up in previous versions but seems to be present both on master and in v0.10.0. I don't think it was present before v0.10.0.
IE:
Edge:
IE:
Edge:
The text was updated successfully, but these errors were encountered: