Namespacescommentsblockly.comments_namespace.workspacecomment_class.settext_methodOn this pageblockly > comments > WorkspaceComment > setText comments.WorkspaceComment.setText() method Sets the text of the comment. Signature: setText(text: string): void; Parameters ParameterTypeDescriptiontextstring Returns: void