feat: add zone attribute to getControlValue api

This commit is contained in:
Hufe921
2023-12-15 20:53:52 +08:00
parent 2a904fef05
commit 285aeec2f6
2 changed files with 23 additions and 7 deletions
+2
View File
@@ -1,4 +1,5 @@
import { ControlType, ControlIndentation } from '../dataset/enum/Control'
import { EditorZone } from '../dataset/enum/Editor'
import { ICheckbox } from './Checkbox'
import { IElement } from './Element'
import { IRange } from './Range'
@@ -95,6 +96,7 @@ export interface IGetControlValueOption {
export type IGetControlValueResult = (Omit<IControl, 'value'> & {
value: string | null
innerText: string | null
zone: EditorZone
})[]
export interface ISetControlValueOption {