fix:range boundary

This commit is contained in:
黄云飞
2021-12-23 20:37:40 +08:00
parent 331b780c86
commit 4963114dd3
8 changed files with 88 additions and 50 deletions
+26 -1
View File
@@ -1 +1,26 @@
export const EDITOR_ELEMENT_STYLE = ['bold', 'color', 'highlight', 'font', 'size', 'italic', 'underline', 'strikeout']
import { IElement } from "../../interface/Element"
export const EDITOR_ELEMENT_STYLE = [
'bold',
'color',
'highlight',
'font',
'size',
'italic',
'underline',
'strikeout'
]
export const EDITOR_ELEMENT_COPY_ATTR: Array<keyof IElement> = [
'type',
'font',
'size',
'bold',
'color',
'italic',
'highlight',
'underline',
'strikeout',
'url',
'hyperlinkId'
]