Namespacescommentsblockly.comments.workspacecomment.settextOn this pageHome > blockly > comments > WorkspaceComment > setText comments.WorkspaceComment.setText() method Sets the text of the comment. Signature: setText(text: string): void; Parameters ParameterTypeDescriptiontextstring Returns: void