UNPKG

tiptap-extension-resize-image

Version:

A tiptap image resizing extension for React, Vue, Next, and VanillaJS. Additionally, it can align the image position.

14 lines 515 B
import { ImageResizeOptions } from './image-resize'; export interface FigureOptions extends Omit<ImageResizeOptions, 'inline'> { } declare module '@tiptap/core' { interface Commands<ReturnType> { figure: { addCaption: (caption?: string) => ReturnType; removeCaption: () => ReturnType; toggleCaption: (caption?: string) => ReturnType; }; } } export declare const Figure: import("@tiptap/core").Node<FigureOptions, any>; //# sourceMappingURL=figure.d.ts.map