feat: add conceptId attribute to table td #654

This commit is contained in:
Hufe921
2024-06-20 21:58:27 +08:00
parent fdcf6397e1
commit 959a062f83
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -61,6 +61,7 @@ interface IElement {
tdList: {
colspan: number;
rowspan: number;
conceptId?: string;
verticalAlign?: VerticalAlign;
backgroundColor?: string;
borderTypes?: TdBorder[];
+1
View File
@@ -61,6 +61,7 @@ interface IElement {
tdList: {
colspan: number;
rowspan: number;
conceptId?: string;
verticalAlign?: VerticalAlign;
backgroundColor?: string;
borderTypes?: TdBorder[];
+1
View File
@@ -77,6 +77,7 @@ export const EDITOR_ELEMENT_ZIP_ATTR: Array<keyof IElement> = [
]
export const TABLE_TD_ZIP_ATTR: Array<keyof ITd> = [
'conceptId',
'verticalAlign',
'backgroundColor',
'borderTypes',
+1
View File
@@ -4,6 +4,7 @@ import { IElement, IElementPosition } from '../Element'
import { IRow } from '../Row'
export interface ITd {
conceptId?: string
id?: string
x?: number
y?: number