blockly > ContextMenuItems > registerCommentCreate

ContextMenuItems.registerCommentCreate() function

Registers an option for adding a workspace comment to the workspace.

Signature:

export declare function registerCommentCreate(): void;

Returns:

void