google-docs-add-on icon indicating copy to clipboard operation
google-docs-add-on copied to clipboard

Error and missing images when the exported post has Google Sheets graphical elements

Open lancewillett opened this issue 8 years ago • 2 comments

It seems to choke the entire post, no content visible in the body.

@catehstn found this in real-life usage.

When you copy a graph from Google Docs, it breaks things. You have to download images and re-upload them. This is a bugger because it's a big part of why I use the Google Docs add-on for WordPress.com. Today I was drafting a post in Calypso, but found it was doing the same thing. Like choosing "copy chart” from Google Docs

Calypso editor seems to break when pasting that graph into the post body.

Cate fixed it by copy-pasting the entire Google Docs content, versus using the Add-on to sync the content over.

I was able to replicate this; I see the following error:

google-docs-error

lancewillett avatar Oct 16 '17 18:10 lancewillett

Interesting. My guess is graphs show up as images when the code tries to find them to upload, but don't have the data we need when we try to upload.

@catehstn can you share a copy of the document with me for further troubleshooting?

georgeh avatar Oct 16 '17 18:10 georgeh

I sent you an example doc with graphs via Slack DM just now. :)

lancewillett avatar Oct 16 '17 18:10 lancewillett