UNPKG

@veltdev/tiptap-velt-comments

Version:

Tiptap Extension to add Google Docs-style overlay comments to your Tiptap editor. Works with the Velt Collaboration SDK.

14 lines (13 loc) 428 B
import { Mark } from '@tiptap/core'; export interface VeltCommentsOptions { HTMLAttributes: Record<string, any>; } declare module '@tiptap/core' { interface Commands<ReturnType> { veltComments: { setVeltComment: (annotationId?: string, multiThreadAnnotationId?: string) => ReturnType; }; } } export declare const VeltComments: Mark<VeltCommentsOptions, any>; export default VeltComments;