Skip to main content

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

Parameter

Type

Description

workspace

WorkspaceSvg

commentId

string

(Optional)

onFinishEditing

(() => void) | undefined

(Optional)