feat: add extension property

This commit is contained in:
Hufe921
2024-04-17 21:48:26 +08:00
parent 868a79148d
commit 5027d730c4
6 changed files with 12 additions and 3 deletions
+1
View File
@@ -16,6 +16,7 @@ export interface IElementBasic {
id?: string
type?: ElementType
value: string
extension?: unknown
}
export interface IElementStyle {
+1
View File
@@ -32,6 +32,7 @@ export interface IRangeStyle {
listStyle: ListStyle | null
groupIds: string[] | null
textDecoration: ITextDecoration | null
extension?: unknown | null
}
export type IRangeStyleChange = (payload: IRangeStyle) => void