feat: add getTitleValue api #536
This commit is contained in:
@@ -231,3 +231,17 @@ Usage:
|
||||
```javascript
|
||||
const container = await instance.command.getContainer()
|
||||
```
|
||||
|
||||
## getTitleValue
|
||||
|
||||
Feature: Get title value
|
||||
|
||||
Usage:
|
||||
|
||||
```javascript
|
||||
const {
|
||||
value: string | null
|
||||
elementList: IElement[]
|
||||
zone: EditorZone
|
||||
}[] = await instance.command.getTitleValue(payload: IGetTitleValueOption)
|
||||
```
|
||||
|
||||
@@ -164,6 +164,7 @@ interface IElement {
|
||||
};
|
||||
// title
|
||||
level?: TitleLevel;
|
||||
title?: ITitle;
|
||||
// list
|
||||
listType?: ListType;
|
||||
listStyle?: ListStyle;
|
||||
|
||||
Reference in New Issue
Block a user