UNPKG

rhino-editor

Version:

A custom element wrapped rich text editor

10 lines (9 loc) 389 B
import { Extension } from "@tiptap/core"; import type { DecorationAttrs } from "@tiptap/pm/view"; export type RhinoSelectionOptions = { HTMLAttributes?: DecorationAttrs; }; /** * A plugin that maintains selection "highlighting" even while the editor does not have focus. This is useful for things like entering in links. */ export declare const SelectionPlugin: Extension<any, any>;