UNPKG

@plait/text-plugins

Version:

#### Dependence - `@plait/core`

9 lines (8 loc) 364 B
import { CustomElement } from '@plait/common'; import { Editor, Location } from 'slate'; export declare const LinkEditor: { wrapLink(editor: Editor, text: string, url: string): void; unwrapLink(editor: Editor, at?: Location): void; isLinkActive(editor: Editor): boolean; getLinkElement(editor: Editor): import("slate").NodeEntry<CustomElement>; };