UNPKG

@wangeditor/basic-modules

Version:
17 lines (16 loc) 934 B
/** * @description view link menu * @author wangfupeng */ import { IButtonMenu, IDomEditor } from '@wangeditor/core'; declare class ViewLink implements IButtonMenu { readonly title: string; readonly iconSvg = "<svg viewBox=\"0 0 1024 1024\"><path d=\"M924.402464 1023.068211H0.679665V99.345412h461.861399v98.909208H99.596867v725.896389h725.896389V561.206811h98.909208z\" p-id=\"10909\"></path><path d=\"M930.805104 22.977336l69.965436 69.965436-453.492405 453.492404-69.965435-69.901489z\" p-id=\"10910\"></path><path d=\"M1022.464381 304.030081h-98.917201V99.345412H709.230573V0.428211h313.233808z\"></path></svg>"; readonly tag = "button"; private getSelectedLinkElem; getValue(editor: IDomEditor): string | boolean; isActive(editor: IDomEditor): boolean; isDisabled(editor: IDomEditor): boolean; exec(editor: IDomEditor, value: string | boolean): void; } export default ViewLink;