feat: add conceptId attribute to table element

pr675
Hufe921 2 years ago
parent 3312254742
commit b55471b134

@ -44,6 +44,7 @@ interface IElement {
// groupIds
groupIds?: string[];
// table
conceptId?: string;
colgroup?: {
width: number;
}[];

@ -44,6 +44,7 @@ interface IElement {
// 组信息-可用于批注等其他成组使用场景
groupIds?: string[];
// 表格
conceptId?: string;
colgroup?: {
width: number;
}[];

@ -59,7 +59,8 @@ export const EDITOR_ELEMENT_ZIP_ATTR: Array<keyof IElement> = [
'listType',
'listStyle',
'listWrap',
'groupIds'
'groupIds',
'conceptId'
]
export const TABLE_TD_ZIP_ATTR: Array<keyof ITd> = [

@ -60,6 +60,7 @@ export interface ITableElement {
tdId?: string
trId?: string
tableId?: string
conceptId?: string
}
export type ITable = ITableAttr & ITableElement

Loading…
Cancel
Save