So I have written a few add-ons for a template doc that gets used to make official ones that are sent out to whoever filled "the form" in.
I cannot use View-only, because my add-ons won't run, I can't publish, because the files are private and only inside my domain.
I need them to be in edit, but not able to edit and I know it's not possible. On the other hand, my idea is as follows:
Can you, with a script, "store" all the text inside the doc and when something is edited, Re-write back over it with the stored data and use .getUi and an alert telling them editing is prohibited.
I know how I'd do certain sections of my idea, but not storing text and locations of it. No idea how to approach it, if even possible.
How would one "store" the existing text in a google doc and rewrite it back in over an edit. If it helps, the text is all in a table.
Cheers, Tea