Content cache does not execute due to active command

I have come across this issue again.

Can’t modify the document while other command is running.

This time, the exact same part of the script works in isolation, but when inserted into a larger script, with a downsteam content cache, it fails.


Read-Write User Text.gh (27.0 KB)


I’m puzzled.