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 }, input)

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

save(comment, { addCoordinates, saveIds, }, input)

Serializes the state of the given comment to JSON.

Interfaces

Interface

Description

State