Automattic / Automattic/google-docs-add-on
Error and missing images when the exported post has Google Sheets graphical elements
- Dominant language
- JavaScript
- Stars
- 169
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
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:
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is identified. Start by reproducing the failure by copying a Google Docs chart into a post and compare add-on syncing with copying the full document; the work is done when graphical elements no longer prevent the post body from being exported and images remain available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, wordpress
- Domain
- api, content
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100