UNPKG

editcrafter

Version:

To use **EditCrafter** with Tailwind CSS, you need to set up Tailwind CSS in your project. Here's a step-by-step guide to help you integrate Tailwind CSS and customize your `tailwind.config.js` file for use with **EditCrafter**.

13 lines (12 loc) 572 B
import { PluginKey } from '@tiptap/pm/state'; import { Editor, Extension } from '@tiptap/react'; import { FileError, FileValidationOptions } from '../../utils'; type FileHandlePluginOptions = { key?: PluginKey; editor: Editor; onPaste?: (editor: Editor, files: File[], pasteContent?: string) => void; onDrop?: (editor: Editor, files: File[], pos: number) => void; onValidationError?: (errors: FileError[]) => void; } & FileValidationOptions; export declare const FileHandler: Extension<Omit<FileHandlePluginOptions, "key" | "editor">, any>; export {};