feat: add conceptId attribute to table element
This commit is contained in:
@@ -44,6 +44,7 @@ interface IElement {
|
|||||||
// groupIds
|
// groupIds
|
||||||
groupIds?: string[];
|
groupIds?: string[];
|
||||||
// table
|
// table
|
||||||
|
conceptId?: string;
|
||||||
colgroup?: {
|
colgroup?: {
|
||||||
width: number;
|
width: number;
|
||||||
}[];
|
}[];
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ interface IElement {
|
|||||||
// 组信息-可用于批注等其他成组使用场景
|
// 组信息-可用于批注等其他成组使用场景
|
||||||
groupIds?: string[];
|
groupIds?: string[];
|
||||||
// 表格
|
// 表格
|
||||||
|
conceptId?: string;
|
||||||
colgroup?: {
|
colgroup?: {
|
||||||
width: number;
|
width: number;
|
||||||
}[];
|
}[];
|
||||||
|
|||||||
@@ -59,7 +59,8 @@ export const EDITOR_ELEMENT_ZIP_ATTR: Array<keyof IElement> = [
|
|||||||
'listType',
|
'listType',
|
||||||
'listStyle',
|
'listStyle',
|
||||||
'listWrap',
|
'listWrap',
|
||||||
'groupIds'
|
'groupIds',
|
||||||
|
'conceptId'
|
||||||
]
|
]
|
||||||
|
|
||||||
export const TABLE_TD_ZIP_ATTR: Array<keyof ITd> = [
|
export const TABLE_TD_ZIP_ATTR: Array<keyof ITd> = [
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ export interface ITableElement {
|
|||||||
tdId?: string
|
tdId?: string
|
||||||
trId?: string
|
trId?: string
|
||||||
tableId?: string
|
tableId?: string
|
||||||
|
conceptId?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export type ITable = ITableAttr & ITableElement
|
export type ITable = ITableAttr & ITableElement
|
||||||
|
|||||||
Reference in New Issue
Block a user