@wangeditor-next/editor
Version:
Web rich text editor, Web 富文本编辑器
17 lines (16 loc) • 576 B
TypeScript
/**
* @description image width base class
* @author wangfupeng
*/
import { IButtonMenu, IDomEditor } from '@wangeditor-next/core';
declare abstract class ImageWidthBaseClass implements IButtonMenu {
abstract readonly title: string;
readonly tag = "button";
abstract readonly value: string;
getValue(_editor: IDomEditor): string | boolean;
isActive(_editor: IDomEditor): boolean;
private getSelectedNode;
isDisabled(editor: IDomEditor): boolean;
exec(editor: IDomEditor, _value: string | boolean): void;
}
export default ImageWidthBaseClass;