feat: add text decoration property
This commit is contained in:
@@ -10,7 +10,8 @@ export const EDITOR_ELEMENT_STYLE_ATTR: Array<keyof IElement> = [
|
||||
'size',
|
||||
'italic',
|
||||
'underline',
|
||||
'strikeout'
|
||||
'strikeout',
|
||||
'textDecoration'
|
||||
]
|
||||
|
||||
export const EDITOR_ROW_ATTR: Array<keyof IElement> = ['rowFlex', 'rowMargin']
|
||||
@@ -32,7 +33,8 @@ export const EDITOR_ELEMENT_COPY_ATTR: Array<keyof IElement> = [
|
||||
'dateFormat',
|
||||
'groupIds',
|
||||
'rowFlex',
|
||||
'rowMargin'
|
||||
'rowMargin',
|
||||
'textDecoration'
|
||||
]
|
||||
|
||||
export const EDITOR_ELEMENT_ZIP_ATTR: Array<keyof IElement> = [
|
||||
@@ -66,7 +68,8 @@ export const EDITOR_ELEMENT_ZIP_ATTR: Array<keyof IElement> = [
|
||||
'groupIds',
|
||||
'conceptId',
|
||||
'imgDisplay',
|
||||
'imgFloatPosition'
|
||||
'imgFloatPosition',
|
||||
'textDecoration'
|
||||
]
|
||||
|
||||
export const TABLE_TD_ZIP_ATTR: Array<keyof ITd> = [
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
export enum TextDecorationStyle {
|
||||
SOLID = 'solid',
|
||||
DOUBLE = 'double',
|
||||
DASHED = 'dashed',
|
||||
DOTTED = 'dotted',
|
||||
WAVY = 'wavy'
|
||||
}
|
||||
|
||||
export enum DashType {
|
||||
SOLID = 'solid',
|
||||
DASHED = 'dashed',
|
||||
DOTTED = 'dotted'
|
||||
}
|
||||
Reference in New Issue
Block a user