UNPKG

edix

Version:

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

7 lines (6 loc) 285 B
import type { DocNode, InferInlineNode } from "../../doc/types.js"; import type { CopyHook } from "./types.js"; /** * An extension to handle copying to plain text. */ export declare const plainCopy: <T extends DocNode>(serializer?: (node: InferInlineNode<T>) => string) => CopyHook;