UNPKG

wangeditor-bind-property

Version:

wangeditor 富文本、添加自定义class dataset

15 lines (14 loc) 498 B
import { type IDomEditor, ISelectMenu } from "@wangeditor/editor"; export declare class SetPropertyMenues implements ISelectMenu { title: string; tag: string; selectPanelWidth: number; alwaysEnable: boolean; iconSvg: string; constructor(); getOptions(editor: IDomEditor): any; getValue(editor: IDomEditor): string; isActive(editor: IDomEditor): boolean; isDisabled(editor: IDomEditor): boolean; exec(editor: IDomEditor, value: string | boolean): void; }