Skip to main content

blockly > serialization > workspaceComments

serialization.workspaceComments namespace

Classes

Class

Description

WorkspaceCommentSerializer

Serializer for saving and loading workspace comment state.

Functions

Function

Description

[append(state, workspace, { recordUndo })](/reference/js/blockly.serialization_namespace.workspacecomments_namespace.append_1_function)

Appends the comment defined by the given state to the given workspace.

[save(comment, { addCoordinates, saveIds, })](/reference/js/blockly.serialization_namespace.workspacecomments_namespace.save_1_function)

Serializes the state of the given comment to JSON.

Interfaces

Interface

Description

State