Abstract ClassesFieldblockly.field.gettextcontentOn this pageHome > blockly > Field > getTextContent Field.getTextContent() method Gets the text content. Signature: protected getTextContent(): Text; Returns: Text The text content. Exceptions An error if the text content is not defined.