Home > 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 }) | 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
| Interface | Description |
|---|---|
| State |