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

Parameter Type Description
text string

Returns:

void