Project

General

Profile

Actions

Bug #3278

closed

TinyMCE 4 - Pasting from Word to Firefox strips formatting

Added by Matt Gold almost 10 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority name:
Normal
Assignee:
Category name:
WordPress (misc)
Target version:
-
Start date:
2014-06-19
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Report from Tony Picciano:

Sorry to bother you but a small issue has arisen with the latest version of the Commons. In composing a new post for a blog, I notice that the spacing between paragraphs has gone a bit awry. I have to double and triple space between paragraphs in order to format a blog post properly. I also have noticed that when you copy and paste text that has a url address embedded that the url address is stripped. In previous versions of the Commons, the embedded url address was kept intact. I hope this makes sense to you.

I am working around these but I thought you should know.

I've asked him for OS/browser info and will update this ticket when I have it.


Files

Problem Ms- Word 1.jpg (426 KB) Problem Ms- Word 1.jpg Matt Gold, 2014-06-23 08:04 AM
Problem Internet Explorer 2.jpg (392 KB) Problem Internet Explorer 2.jpg Matt Gold, 2014-06-23 08:04 AM
Problem Mozilla 3.jpg (480 KB) Problem Mozilla 3.jpg Matt Gold, 2014-06-23 08:04 AM
Actions #1

Updated by Matt Gold almost 10 years ago

from Tony:

"I am using Windows 8 on a SONY PC. I use Mozilla as my browser."

"You might be onto something. I just tried Internet Explorer and I am not detecting the same problems."

Actions #2

Updated by Boone Gorges almost 10 years ago

  • Assignee changed from Boone Gorges to Raymond Hoh
  • Target version set to 1.6.8

Ray, could you take a look at this? I'm hoping you'll have some wisdom, related either to the new TinyMCE or to Windows :)

Actions #3

Updated by Raymond Hoh almost 10 years ago

  • Status changed from Assigned to Reporter Feedback

Just did some paragraph and copy-and-paste testing on Firefox (Win 8.1) using WP 3.9.1 and couldn't duplicate Tony's problems.

Is this only happening inside the editor or on the actual post itself? Could be a plugin conflict. What is the blog URL in question and what plugins are running on this blog?

I'll test this on comtest once I know these details.

Actions #4

Updated by Matt Gold almost 10 years ago

Response from Tony:

To help with this, attached please find three screenshots. The Ms-Word screenshot is the text that I am copying and pasting into a new posting page. The Internet Explorer screenshot is the result of this paste on a new posting page using IE as the browser.. The Mozilla screenshot is the result of this paste on a new posting page using Mozilla. If you notice the results on the IE page, all of the spacing and branch urls are exactly the same. If you look at the Mozilla results, all the spacing is gone, every line is single-spaced and the branch urls are no longer active.

I noticed this problem when one of the new versions of Wordpress went up (at the same time that the little box for cutting and pasting MS-Word files was eliminated).

Actions #5

Updated by Raymond Hoh almost 10 years ago

  • Subject changed from Blog editing issues - small bugs to TinyMCE 4 - Pasting from Word to Firefox strips formatting

Thanks for the screenshots, Matt. That helped to explain the problem.

This is definitely a problem with upgrading to the latest version of WordPress, which upgraded TinyMCE (the editor that WP uses) and broke Paste to Word functionality.

It appears to be a bug with TinyMCE:
http://www.tinymce.com/develop/bugtracker_view.php?id=6772

Not much we can do on our end.

Here is what I recommend:
  • If Tony needs to paste from Word, use IE.
  • Otherwise, use an alternative text editor like LibreOffice to copy the content and then paste into Firefox. I tested copying and pasting from LibreOffice and the formatting did not get stripped. I linked to the portable version of LibreOffice so Tony can test LibreOffice without installing it.

Update: It looks like a fix was added in the upcoming WordPress 3.9.2:
https://core.trac.wordpress.org/ticket/28016#comment:7

Actions #6

Updated by Boone Gorges almost 10 years ago

  • Status changed from Reporter Feedback to Rejected
  • Target version deleted (1.6.8)

Ray - Thanks very much for doing this research. It also looks like you can work around the issue in FF by pasting using Ctrl+V instead of the right-click dialog.

I agree that there's not much we can do here on the Commons. TinyMCE is too entangled with WP for us to consider rolling back. I'd guess that this problem will get fixed upstream in a future version, and we'll just inherit the patch.

Matt, would you please pass these findings along to Tony, with our apologies? Thanks.

Actions

Also available in: Atom PDF