UNPKG

edix

Version:

An experimental, type-safe, framework agnostic and small (5kB+) contenteditable state manager.

7 lines (6 loc) 269 B
import type { InlineNode } from "../../doc/types.js"; import type { PasteHook } from "./types.js"; /** * An extension to handle pasting / dropping from File. */ export declare const filePaste: (handlerByMime: Record<string, (file: File) => InlineNode>) => PasteHook;