apps-script-samples
apps-script-samples copied to clipboard
Change line 110 to read (structuralElement.paragraph) instead of (structuralElement.paragraph !== null)
... otherwise will get errors on some documents
Thank you for filing, which file is referring to?
Search https://github.com/googleworkspace/apps-script-samples/search?q=structuralElement.paragraph
Permalink https://github.com/googleworkspace/apps-script-samples/blob/db3ad6816484c1ba9707d34e17d1916713b28007/advanced/docs.gs#L110
But I don't see a collision.
@ferrisargyle could you send any document with the errors?