/** * @description insert link menu * @author wangfupeng */ import { IDomEditor, IModalMenu } from '@wangeditor-next/core'; import { Node } from 'slate'; import { DOMElement } from '../../../utils/dom'; declare class InsertLinkMenu implements IModalMenu { readonly title: string; readonly iconSvg = ""; readonly tag = "button"; readonly showModal = true; readonly modalWidth = 300; private $content; private readonly textInputId; private readonly urlInputId; private readonly buttonId; getValue(_editor: IDomEditor): string | boolean; isActive(_editor: IDomEditor): boolean; exec(_editor: IDomEditor, _value: string | boolean): void; isDisabled(editor: IDomEditor): boolean; getModalPositionNode(_editor: IDomEditor): Node | null; getModalContentElem(editor: IDomEditor): DOMElement; } export default InsertLinkMenu;