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.

15 lines (14 loc) 434 B
import { Editor } from '@tiptap/core'; import { EditorService } from './editor'; import { StoreService } from './store'; export declare class Plugin { editorId: string; editor: Editor | undefined; editorService: EditorService; storeService: StoreService; constructor(editorId: string, editor?: Editor); static getInstance(config?: { editorId?: string | null; editor?: Editor; }): Plugin; }