How to replace the contents of several lines (lines are in different children) with "deleted" using the .replaceText() method?
Google Docs example:

How to replace the contents of several lines (lines are in different children) with "deleted" using the .replaceText() method?
Google Docs example: