Send feedback Class Text Stay organized with collections Save and categorize content based on your preferences. An element representing a rich text region. All text in a Document is contained within Text elements. A Text element can be contained within an Equation, EquationFunction, ListItem, or Paragraph, but cannot itself contain any other element. For more information on document structure, see
![Class Text | Apps Script | Google for Developers](https://cdn-ak-scissors.b.st-hatena.com/image/square/d51b17e4be23f81b4640a087e7760b9931c6ea42/height=288;version=1;width=512/https%3A%2F%2Fwww.gstatic.com%2Fdevrel-devsite%2Fprod%2Fv85aee14ad439a087d9e958f223735d57cdfda16a7f6497504c9ce4a10dce0396%2Fdevelopers%2Fimages%2Fopengraph%2Fwhite.png)