feat:content block core

This commit is contained in:
Hufe921
2022-11-27 20:11:29 +08:00
parent 4118fd4be3
commit 8f7eb3e67f
15 changed files with 189 additions and 5 deletions
+2 -1
View File
@@ -50,7 +50,8 @@ export const EDITOR_ELEMENT_ZIP_ATTR: Array<keyof IElement> = [
'valueList',
'control',
'checkbox',
'dateFormat'
'dateFormat',
'block'
]
export const TEXTLIKE_ELEMENT_TYPE: ElementType[] = [
+3
View File
@@ -0,0 +1,3 @@
export enum BlockType {
IFRAME = 'iframe'
}
+2 -1
View File
@@ -11,5 +11,6 @@ export enum ElementType {
CHECKBOX = 'checkbox',
LATEX = 'latex',
TAB = 'tab',
DATE = 'date'
DATE = 'date',
BLOCK = 'block'
}