feat: control default style #340
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { ElementType } from '../enum/Element'
|
||||
import { IElement } from '../../interface/Element'
|
||||
import { ITd } from '../../interface/table/Td'
|
||||
import { IControlStyle } from '../../interface/Control'
|
||||
|
||||
export const EDITOR_ELEMENT_STYLE_ATTR: Array<keyof IElement> = [
|
||||
'bold',
|
||||
@@ -99,6 +100,16 @@ export const CONTROL_CONTEXT_ATTR: Array<keyof IElement> = [
|
||||
'controlComponent'
|
||||
]
|
||||
|
||||
export const CONTROL_STYLE_ATTR: Array<keyof IControlStyle> = [
|
||||
'font',
|
||||
'size',
|
||||
'bold',
|
||||
'color',
|
||||
'highlight',
|
||||
'italic',
|
||||
'strikeout'
|
||||
]
|
||||
|
||||
export const EDITOR_ELEMENT_CONTEXT_ATTR: Array<keyof IElement> = [
|
||||
...TABLE_CONTEXT_ATTR,
|
||||
...TITLE_CONTEXT_ATTR,
|
||||
|
||||
Reference in New Issue
Block a user