diff --git a/docs/guide/command-execute.md b/docs/guide/command-execute.md index caac4e8..ffbecb7 100644 --- a/docs/guide/command-execute.md +++ b/docs/guide/command-execute.md @@ -200,6 +200,13 @@ instance.command.executeColor() ```javascript instance.command.executeHighlight() ``` +## executeTitle +功能:标题设置 + +用法: +```javascript +instance.command.executeTitle(TitleLevel | null) +``` ## executeLeft 功能:行居左 diff --git a/docs/guide/option.md b/docs/guide/option.md index ea94b6c..5b82ad5 100644 --- a/docs/guide/option.md +++ b/docs/guide/option.md @@ -54,6 +54,7 @@ interface IEditorOption { control?: IControlOption; // 控件信息。 {placeholderColor?:string; bracketColor?:string; prefix?:string; postfix?:string;} checkbox?: ICheckboxOption; // 复选框信息。{width?:number; height?:number; gap?:number; lineWidth?:number; fillStyle?:string; fontStyle?: string;} cursor?: ICursorOption; // 光标样式。{width?: number; color?: string; dragWidth?: number; dragColor?: string;} + title?: ITitleOption; // 标题配置。{ defaultFirstSize?: number; defaultSecondSize?: number; defaultThirdSize?: number defaultFourthSize?: number; defaultFifthSize?: number; defaultSixthSize?: number;} } ```