feat: add externalId property to element #552

This commit is contained in:
Hufe921
2024-05-19 20:03:03 +08:00
parent 64630f2f63
commit 65255229c5
4 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -73,7 +73,8 @@ export const EDITOR_ELEMENT_ZIP_ATTR: Array<keyof IElement> = [
'imgDisplay',
'imgFloatPosition',
'textDecoration',
'extension'
'extension',
'externalId'
]
export const TABLE_TD_ZIP_ATTR: Array<keyof ITd> = [
+1
View File
@@ -19,6 +19,7 @@ export interface IElementBasic {
type?: ElementType
value: string
extension?: unknown
externalId?: string
}
export interface IElementStyle {