davidrthorn / cross_reference

Cross referencing for Google Docs
MIT License
80 stars 20 forks source link

Update document does not work with copied and pasted text #76

Open jgnunes opened 1 year ago

jgnunes commented 1 year ago

Hi, first of all thanks for developing such a useful tool!

If I copy and paste text from one file to another, the links in the new file get automatically changed to hold a reference to the original file (e.g. from #table_Test1 to https://docs.google.com/document/d/1cPmhcPnw9-C6Da0gI3eByngzFWrnawqgIxaxKX-cNpM/edit#table_Test1, where https://docs.google.com/document/d/1cPmhcPnw9-C6Da0gI3eByngzFWrnawqgIxaxKX-cNpM/edit is the original file). Then, in the new file, the Update document fails because of the change in the link. I wonder if there is any type of workaround for that, otherwise I would have the manually fix all links to remove the reference to the original file and that would take a really long time.

Best,