Velt Comments
component to the root of your app.text mode
prop to false
to hide the default text comment tool.AddCommentRequest
. It has the following properties:
editor
: instance of the Tiptap editor.editorId
: Id of the tiptap editor. Use this if you have multiple tiptap editors on the same page in your app. (optional)context
: Add any custom metadata to the Comment Annotation. Learn more. (optional)RenderCommentsRequest
. It has the following properties:
editor
: Instance of the Tiptap editor.editorId
: Id of the tiptap editor. Use this if you have multiple tiptap editors on the same page in your app. (optional)commentAnnotations
: Array of Comment Annotation objects.<velt-comment-text>
) are persisted in the Tiptap editor by Velt SDK. When the editor loads and the velt sdk initializes, the marks will be automatically added to the editor by us.true
velt-comment-text
element.comment-available
attribute, you can apply styles only when the comment data has loaded.