Skip to main content

Home > blockly > serialization > workspaceComments

serialization.workspaceComments namespace

Classes

ClassDescription
WorkspaceCommentSerializerSerializer for saving and loading workspace comment state.

Functions

FunctionDescription
append(state, workspace, { recordUndo })Appends the comment defined by the given state to the given workspace.
save(comment, { addCoordinates, saveIds, })Serializes the state of the given comment to JSON.

Interfaces

InterfaceDescription
State