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?
Numbered lists pasted from Outlook and OneNote desktop app show extra white spaces
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/gmertk/e61z7nfa/.
1- Type the following in Outlook desktop:
2- Copy and paste it in the draftjs.org editor and you should see the extra spaces that were added in the middle of the list content:
The same happens for content coming from OneNote desktop:
What is the expected behavior?
I was expecting the content to match what was showing in Outlook and OneNote. I noticed that the html in the clipboard does have spaces and new lines for readability but they don't seem to be something that was intended to be rendered.
If I paste this same content in other editors(like Outlook.com), those extra spaces are not being added.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
I saw the issue in both 0.10.23 and 0.11.0. I tried this using the latest version of Chrome
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Numbered lists pasted from Outlook and OneNote desktop app show extra white spaces
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/gmertk/e61z7nfa/.
1- Type the following in Outlook desktop:
2- Copy and paste it in the draftjs.org editor and you should see the extra spaces that were added in the middle of the list content:
The same happens for content coming from OneNote desktop:
What is the expected behavior?
I was expecting the content to match what was showing in Outlook and OneNote. I noticed that the html in the clipboard does have spaces and new lines for readability but they don't seem to be something that was intended to be rendered.
If I paste this same content in other editors(like Outlook.com), those extra spaces are not being added.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
I saw the issue in both 0.10.23 and 0.11.0. I tried this using the latest version of Chrome
The text was updated successfully, but these errors were encountered: