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

Intra-document linking

Open jpwattam opened this issue 7 years ago • 1 comments

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.

jpwattam avatar Sep 14 '18 11:09 jpwattam

This is a solid idea, thanks! We will look at putting this in the next update.

georgeh avatar Sep 17 '18 13:09 georgeh