/** * @description header menu * @author wangfupeng */ import { IDomEditor, IOption, ISelectMenu } from '@wangeditor-next/core'; declare class LineHeightMenu implements ISelectMenu { readonly title: string; readonly iconSvg = ""; readonly tag = "select"; readonly width = 80; getOptions(editor: IDomEditor): IOption[]; /** * 获取匹配的 node 节点 * @param editor editor */ private getMatchNode; isActive(_editor: IDomEditor): boolean; /** * 获取 node.lineHeight 的值(如 '1' '1.5'),没有则返回 '' * @param editor editor */ getValue(editor: IDomEditor): string | boolean; isDisabled(editor: IDomEditor): boolean; exec(editor: IDomEditor, value: string | boolean): void; } export default LineHeightMenu;