feat: add conceptId attribute to table td #654

pr675
Hufe921 2 years ago
parent fdcf6397e1
commit 959a062f83

@ -61,6 +61,7 @@ interface IElement {
tdList: {
colspan: number;
rowspan: number;
conceptId?: string;
verticalAlign?: VerticalAlign;
backgroundColor?: string;
borderTypes?: TdBorder[];

@ -61,6 +61,7 @@ interface IElement {
tdList: {
colspan: number;
rowspan: number;
conceptId?: string;
verticalAlign?: VerticalAlign;
backgroundColor?: string;
borderTypes?: TdBorder[];

@ -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',

@ -4,6 +4,7 @@ import { IElement, IElementPosition } from '../Element'
import { IRow } from '../Row'
export interface ITd {
conceptId?: string
id?: string
x?: number
y?: number

Loading…
Cancel
Save