asciidoc-googledocs-addon icon indicating copy to clipboard operation
asciidoc-googledocs-addon copied to clipboard

ScriptError: TypeError: child.editAsText is not a function

Open ioannisstavrakakis opened this issue 3 years ago • 5 comments

When I try to convert a gdoc get error "ScriptError: TypeError: child.editAsText is not a function".

It seems I can convert small parts of it, but not the whole doc, or couple of pages. Any ideas?

Thank you!

ioannisstavrakakis avatar Aug 04 '21 12:08 ioannisstavrakakis

Hello @ioannisstavrakakis

Could you please share a sample document that reproduces this issue? You can send me a DM on Twitter (https://twitter.com/Mogztter) or an email if you want to share it privately.

Any ideas?

Do you have the line number associated with the error? We are using the function editAsText at several places in: https://github.com/Mogztter/asciidoc-googledocs-addon/blob/master/app/Code.gs

Thanks!

ggrossetie avatar Aug 06 '21 07:08 ggrossetie

Let me know your email address so I can share the Gdoc with you. There is no line number mentioned, see screenshot: image

ioannisstavrakakis avatar Aug 06 '21 08:08 ioannisstavrakakis

@ioannisstavrakakis Are you on Twitter or https://asciidoctor.zulipchat.com so I can send you my email address?

ggrossetie avatar Aug 06 '21 08:08 ggrossetie

I am now :) zulipchat: IoannisStavrakakis

ioannisstavrakakis avatar Aug 06 '21 08:08 ioannisstavrakakis

Related to: #42

ggrossetie avatar Aug 06 '21 15:08 ggrossetie