Skip to main content

blockly > comments > CommentEditor > setPlaceholderText

comments.CommentEditor.setPlaceholderText() method

Sets the placeholder text displayed for an empty comment.

Signature:

setPlaceholderText(text: string): void;

Parameters

Parameter

Type

Description

text

string

Returns:

void