Automattic / Automattic/google-docs-add-on
Intra-document linking
- Dominant language
- JavaScript
- Stars
- 169
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
Within a Google Doc you can make a link to a heading within the doc. The doc headings appear to be html bookmarks that look like this:
#heading=h.uniquecode
The link created in GDocs uses that bookmark as a URL.
The problem is that the corresponding heading does not bear this bookmark ID when I inspect the html of the doc in GDocs - clearly Google are doing something 'different'.
So I think in the conversion from GDocs to Wordpress, intra-document links need to be examined and tracked to the corresponding heading so that the ID can be added. Even smarter would be for all headings to have their Google URL (like above example) assigned so that subsequent Wordpress edits can use those bookmarks.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no files or tests. Start by locating the Google Docs-to-WordPress conversion path and how heading anchors and intra-document URLs are represented; define whether completion means mapping existing bookmarks to headings or assigning Google URLs to all headings, then verify that links work after conversion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, wordpress
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100