UNPKG

tiptap-extension-iframely

Version:
22 lines (19 loc) 454 B
import { Node } from '@tiptap/core'; declare global { interface Window { iframely?: { load: (container: HTMLElement, src: string) => void; }; } } declare module "@tiptap/core" { interface Commands<ReturnType> { iframely: { setIframelyEmbed: (options: { src: string; }) => ReturnType; }; } } declare const Iframely: Node<any, any>; export { Iframely };