-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Pasting from MS Word fuses words #12293
Comments
Thank you for the report! I believe this is a duplicate of #11588 and so I'll close this issue and add a note there. |
I'm sorry @designsimply, but I do not think this is the same bug because it has been marked closed while the problem most certainly persists as of version 5.22. See below. Copy text from MS Word 16.27 (OS X 10.14.6) Paste into Wordpress As you can see, both the hyperlinked and italicized words are fused with the following word in the sentence. I would wager to guess this also happens with other kinds of formatting. This was using the classic editor but the same issue arises in Gutenberg. For those who may be interested, I have been using the following GREP search/replace in BBedit to address this issue for about a year now. |
Thanks for the note @jamiljonna! In your case, do the missing spaces after pasting from Word seem random or in your case are the missing spaces always after hyperlinked and italicized words? |
Not sure of the status on this one, but I can confirm that it is still an issue as of Wordpress 5.2.3. I just had to fix a post by one of the people on my company's marketing team where they wrote the post in Word and pasted the content directly into Gutenberg. The spacing seemed random to me and was mostly visible in Safari and Internet Explorer (my company is mostly B2B so it's still relevant, unfortunately). I did not experience the issue in Chromium-based browsers and did not have time to test for Firefox. To fix it quickly, as there were ads pointing to the live post and I didn't have time to debug what was happening, I essentially had to go through the post in Safari and add the spaces where they belonged. |
Hi @IlonaGordon and @neilhinkle! Thanks for the report. Could you share what the console is logging for you when you paste? I'm looking for this: Please copy the text and paste it in between backticks:
Thank you! |
Ella, the issue had been fixed months ago.
--
Ilona Andrews
#1 NYT Bestselling Author
http://www.ilona-andrews.com/
On Tue, Dec 10, 2019, at 8:58 AM, Ella van Durpe wrote:
Hi @IlonaGordon <https://github.com/IlonaGordon> and @neilhinkle <https://github.com/neilhinkle>! Thanks for the report.
Could you share what the console is logging for you when you paste?
I'm looking for this:
Screenshot 2019-08-07 at 10 53 18 <https://user-images.githubusercontent.com/4710635/62609234-ac664480-b901-11e9-972a-7383ec88b930.png>
Please copy the text and paste it in between backticks:
````
content
```
`
… Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#12293?email_source=notifications&email_token=AKZ5L3SCVJIQ5UH2A7BSL6DQX6U7ZA5CNFSM4GGIHJCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGPQZGI#issuecomment-564071577>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AKZ5L3UKUFOJV4PYQ5YHM7LQX6U7ZANCNFSM4GGIHJCA>.
|
Ok, great to hear! |
Describe the bug
Gutenberg version: Version 4.5.1
When pasting from MS Word, random spaces between words are deleted. Attempting to avoid this by pasting the segment into html editor creates one long paragraph, followed by an error message that warns the block has issues. Clicking to resolve issues produces a wall of text without paragraph breaks.
Attempting to avoid it by pasting the segment into WordPad or Notepad, saving as rtf or text, and then pasting it into the post also deletes paragraphs and produces a single block of text.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Paste from MS Word is an essential function to me. I routinely paste long chunks of text into Wordpress and I would like Gutenberg to not glue my words together.
Screenshots
![screenshot 2018-11-25 14 14 14](https://user-images.githubusercontent.com/45340142/48984310-b58aea80-f0bf-11e8-8b19-c6c0f0f78ab3.png)
Pasting from Word:
Pasting into HTML:
![screenshot 2018-11-25 14 25 33](https://user-images.githubusercontent.com/45340142/48984314-bae83500-f0bf-11e8-9dbe-853bd4e99192.png)
Error message:
![screenshot 2018-11-25 14 25 47](https://user-images.githubusercontent.com/45340142/48984315-bface900-f0bf-11e8-80ae-5f48f094c043.png)
End result after resolving errors:
![screenshot 2018-11-25 14 28 19](https://user-images.githubusercontent.com/45340142/48984319-c4719d00-f0bf-11e8-86a5-973570d19a5b.png)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: