/** * @description header menu * @author wangfupeng */ import { IDomEditor, IOption, ISelectMenu } from '@wangeditor-next/core'; declare class HeaderSelectMenu implements ISelectMenu { readonly title: string; readonly iconSvg = ""; readonly tag = "select"; readonly width = 60; getOptions(editor: IDomEditor): IOption[]; isActive(_editor: IDomEditor): boolean; /** * 获取选中节点的 node.type * @param editor editor */ getValue(editor: IDomEditor): string | boolean; isDisabled(editor: IDomEditor): boolean; /** * 执行命令 * @param editor editor * @param value node.type */ exec(editor: IDomEditor, value: string | boolean): void; } export default HeaderSelectMenu;