UNPKG

@wangeditor-kai/yjs-for-react

Version:

React specific components/utils for wangeditor-next-yjs.

16 lines (15 loc) 633 B
/** * @description 增加缩进 * @author wangfupeng */ import { IDomEditor } from '@wangeditor-next/core'; import BaseMenu from './BaseMenu'; declare class IncreaseIndentMenu extends BaseMenu { readonly title: string; readonly iconSvg = "<svg viewBox=\"0 0 1024 1024\"><path d=\"M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z\"></path></svg>"; private DEFAULT_INDENT_VALUE; isDisabled(editor: IDomEditor): boolean; private getIndentValue; exec(editor: IDomEditor, _value: string | boolean): void; } export default IncreaseIndentMenu;