UNPKG

@taze-editor/taze-core

Version:

Taze Editor's core package - makes easier to create rich text editor

6 lines 376 B
import { TEditor, Value } from "../slate/editor/TEditor"; /** * Get selected mark by type. */ export declare const getMark: <V extends Value, K extends keyof import("..").Simplify<import("..").UnionToIntersection<import("..").TNodeProps<import("../slate/text/TText").TextOf<TEditor<V>>>>>>(editor: TEditor<V>, type: K) => K | undefined; //# sourceMappingURL=getMark.d.ts.map