feat: add textDecoration property to the rangeStyleChange event

This commit is contained in:
Hufe921
2024-02-28 20:42:44 +08:00
parent f1570f2180
commit a7fa847b19
2 changed files with 7 additions and 2 deletions
+2
View File
@@ -9,6 +9,7 @@ import {
import { RowFlex } from '../dataset/enum/Row'
import { IControl } from './Control'
import { IEditorResult } from './Editor'
import { ITextDecoration } from './Text'
export interface IRangeStyle {
type: ElementType | null
@@ -30,6 +31,7 @@ export interface IRangeStyle {
listType: ListType | null
listStyle: ListStyle | null
groupIds: string[] | null
textDecoration: ITextDecoration | null
}
export type IRangeStyleChange = (payload: IRangeStyle) => void