-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove empty paragraphs when pasting from Word #9365
Comments
Hello, thank you for your suggestion but I'm afraid that the feature that you are describing might cause unexpected behaviour for other users that would like to preserve empty paragraphs when pasting from other sources like Word. Please, bear in mind that content you see inside the editor is presented as HTML and you can simply create a css rule to remove those margins or change Please, let me know if my suggestion is fixing your issue. |
I think that there are situations in which we can assume a Word user does not need to preserve empty paragraphs when pasting from Word, because when you intend to create a new paragraph in Word you're actually not creating two of them but three, using one of them to separate the two. If you try Medium's editor with the same Word file that I used in the video (in the first post), you can see that they remove the empty paragraph when you paste the content. |
Hi! Any updates on this? |
This is something to check but perhaps instead of removing, style retention will solve this problem - #10577 |
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may be relevant, so if you're interested in the solution, leave a comment or reaction under this issue. |
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue. |
We've closed your issue due to inactivity over the last year. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it). |
📝 Provide a description of the improvement
How the feature works now and what you'd like to change?
When you paste from Word a text which has paragraphs separated by empty paragraphs, the editor retains those empty paragraphs while applying margin to all of them. This means the (real) paragraphs are spaced more than intended because on Word paragraphs have 0 margin by default.
Here's a video showing the current wrong behaviour:
screen_recording.mp4
If you'd like to see this improvement implemented, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: