feat:add eslint and fix

This commit is contained in:
黄云飞
2022-03-22 14:48:10 +08:00
parent 764fd8bbad
commit c49b7b5978
59 changed files with 1117 additions and 317 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import { ElementType } from "../enum/Element"
import { IElement } from "../../interface/Element"
import { ElementType } from '../enum/Element'
import { IElement } from '../../interface/Element'
export const EDITOR_ELEMENT_STYLE_ATTR = [
'bold',
+1 -1
View File
@@ -1,4 +1,4 @@
import { IHeader } from "../../interface/Header"
import { IHeader } from '../../interface/Header'
export const defaultHeaderOption: Readonly<Required<IHeader>> = {
data: '',
+1 -1
View File
@@ -1,4 +1,4 @@
import { IWatermark } from "../../interface/Watermark"
import { IWatermark } from '../../interface/Watermark'
export const defaultWatermarkOption: Readonly<Required<IWatermark>> = {
data: '',