Skip to main content

Home > blockly > comments > CommentEditor > (constructor)

comments.CommentEditor.(constructor)

Constructs a new instance of the CommentEditor class

Signature:

constructor(workspace: WorkspaceSvg, commentId?: string, onFinishEditing?: (() => void) | undefined);

Parameters

ParameterTypeDescription
workspaceWorkspaceSvg
commentIdstring(Optional)
onFinishEditing(() => void) | undefined(Optional)