/** * @description code-highlight select lang * @author wangfupeng */ import { IDomEditor, IOption, ISelectMenu } from '@wangeditor-next/core'; declare class SelectLangMenu implements ISelectMenu { readonly title: string; readonly iconSvg = ""; readonly tag = "select"; readonly width = 95; readonly selectPanelWidth = 115; private defaultCodeLang; getOptions(editor: IDomEditor): IOption[]; isActive(_editor: IDomEditor): boolean; /** * 获取语言类型 * @param editor editor */ getValue(editor: IDomEditor): string | boolean; isDisabled(editor: IDomEditor): boolean; exec(editor: IDomEditor, value: string | boolean): void; private getSelectCodeElem; } export default SelectLangMenu;