[wp-trac] [WordPress Trac] #27195: Disappearing image captions on pasted images from Google Docs
WordPress Trac
noreply at wordpress.org
Wed Dec 3 00:01:01 UTC 2014
#27195: Disappearing image captions on pasted images from Google Docs
-----------------------------+-------------------------
Reporter: TobiasKjrsgaard | Owner: azaozz
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Editor | Version: 3.8.1
Severity: normal | Resolution: worksforme
Keywords: | Focuses:
-----------------------------+-------------------------
Changes (by azaozz):
* status: assigned => closed
* resolution: => worksforme
* milestone: 4.1 =>
Comment:
As far as I understand, the problem is that TinyMCE 4.x disables pasting
of image source (base64 encoded) inside the post text. This is a really
bad practice. Makes the post huge and very inconvenient to load for the
site visitors (1MB image is usually about 1.2MB base64 encoded, that's
roughly 200,000 words), and is very search engine unfriendly. Also this is
not supported in all browsers.
Images in Google Docs don't exist on the Internet. They are local to the
document and cannot be inserted anywhere else by using the <img> tag. To
properly use images from there, the users will have to upload them to
their site and insert them into the post from the Media Library, same as
any other image. This means there will be several more steps while writing
but will ensure everything works well.
There are WordPress plugins that "catch" these base64 encoded images and
save them properly, then replace them in the post content. If somebody
needs to paste images from a word processor or Google Docs regularly, that
would be the best solution.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27195#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list