Skip to content

Vizel API / core/src / getVizelCommentPluginState

Function: getVizelCommentPluginState() ​

ts
function getVizelCommentPluginState(state): 
  | VizelCommentPluginState
  | null;

Defined in: packages/core/src/extensions/comment.ts:35

Get the current comment plugin state from the editor

Parameters ​

ParameterType
stateEditorState

Returns ​

| VizelCommentPluginState | null

Released under the MIT License.