UNPKG

reactjs-tiptap-editor

Version:

A modern WYSIWYG rich text editor based on tiptap and shadcn ui for React

17 lines (16 loc) 421 B
import { Node } from '@tiptap/core'; export * from './components/RichTextIframe'; declare module '@tiptap/core' { interface Commands<ReturnType> { iframe: { /** * Add an iframe */ setIframe: (options: { src: string; service: string; }) => ReturnType; }; } } export declare const Iframe: Node<any, any>;