@taze-editor/taze-core
Version:
Taze Editor's core package - makes easier to create rich text editor
6 lines • 391 B
TypeScript
import { TEditor, Value } from "../slate/editor/TEditor";
/**
* Is the mark defined in the selection.
*/
export declare const isMarkActive: <V extends Value, K extends keyof import("..").Simplify<import("..").UnionToIntersection<import("..").TNodeProps<import("../slate/text/TText").TextOf<TEditor<V>>>>>>(editor: TEditor<V>, type: K) => boolean;
//# sourceMappingURL=isMarkActive.d.ts.map