Velt Comments
component to the root of your app.text mode
prop to false
to hide the default text comment tool.addComment
to add a commentAddCommentRequest
editorId
: string, the id of the editor. Use this if you have multiple editors in your app.editor
: instance of the SlateJS editor.context
: optional object to set the Comment Annotation’s custom metadata.RenderCommentsRequest
editorId
: string, the id of the editor. Use this if you have multiple editors in your app.editor
: instance of the SlateJS editor.commentAnnotations
: CommentAnnotation[]velt-comment-text
element.comment-available
attribute, you can apply styles only when the comment data has loaded.editor: Editor
options?: VeltCommentsEditorOptions
VeltCommentsEditor
async (request:
AddCommentRequest) => Promise<void>
request:
AddCommentRequestPromise<void>
(request:
RenderCommentsRequest) => void
request:
RenderCommentsRequestvoid
props: RenderElementProps
element:
VeltCommentsElementN/A