feat:data persistence
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { IElement } from "../../interface/Element"
|
||||
|
||||
export const EDITOR_ELEMENT_STYLE = [
|
||||
export const EDITOR_ELEMENT_STYLE_ATTR = [
|
||||
'bold',
|
||||
'color',
|
||||
'highlight',
|
||||
@@ -24,4 +24,23 @@ export const EDITOR_ELEMENT_COPY_ATTR: Array<keyof IElement> = [
|
||||
'rowFlex',
|
||||
'url',
|
||||
'hyperlinkId'
|
||||
]
|
||||
|
||||
export const EDITOR_ELEMENT_ZIP_ATTR: Array<keyof IElement> = [
|
||||
'type',
|
||||
'font',
|
||||
'size',
|
||||
'bold',
|
||||
'color',
|
||||
'italic',
|
||||
'highlight',
|
||||
'underline',
|
||||
'strikeout',
|
||||
'rowFlex',
|
||||
'trList',
|
||||
'width',
|
||||
'height',
|
||||
'url',
|
||||
'colgroup',
|
||||
'valueList'
|
||||
]
|
||||
@@ -8,6 +8,7 @@ export enum KeyMap {
|
||||
Down = "ArrowDown",
|
||||
A = "a",
|
||||
C = "c",
|
||||
S = "s",
|
||||
X = "x",
|
||||
Y = "y",
|
||||
Z = "z"
|
||||
|
||||
Reference in New Issue
Block a user