Namespacescommentsblockly.comments.commenteditor.settextOn this pageHome > blockly > comments > CommentEditor > setText comments.CommentEditor.setText() method Sets the current text of the comment and fires change listeners. Signature: setText(text: string): void; Parameters ParameterTypeDescriptiontextstring Returns: void