feat: add table td border type

This commit is contained in:
Hufe921
2023-09-02 14:35:46 +08:00
parent 7260b6439b
commit d8876b1095
20 changed files with 144 additions and 34 deletions
+7
View File
@@ -1,5 +1,6 @@
import { ElementType } from '../enum/Element'
import { IElement } from '../../interface/Element'
import { ITd } from '../../interface/table/Td'
export const EDITOR_ELEMENT_STYLE_ATTR: Array<keyof IElement> = [
'bold',
@@ -61,6 +62,12 @@ export const EDITOR_ELEMENT_ZIP_ATTR: Array<keyof IElement> = [
'groupIds'
]
export const TABLE_TD_ZIP_ATTR: Array<keyof ITd> = [
'verticalAlign',
'backgroundColor',
'borderType'
]
export const TABLE_CONTEXT_ATTR: Array<keyof IElement> = [
'tdId',
'trId',
+4
View File
@@ -3,3 +3,7 @@ export enum TableBorder {
EMPTY = 'empty',
EXTERNAL = 'external'
}
export enum TdBorder {
BOTTOM = 'bottom'
}