feat: add conceptId attribute to table element
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user