feat:optimize event code structure

This commit is contained in:
Hufe921
2022-12-25 17:43:21 +08:00
parent 5e9c1ce577
commit f63affc1c4
15 changed files with 879 additions and 623 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { ElementType } from '../enum/Element'
import { IElement } from '../../interface/Element'
export const EDITOR_ELEMENT_STYLE_ATTR = [
export const EDITOR_ELEMENT_STYLE_ATTR: Array<keyof IElement> = [
'bold',
'color',
'highlight',