feat: preserve ocd value ids
This commit is contained in:
1 parent
d34d1709ef
commit
6d74559a0f
2 files changed
+2
-1
No files matched your search
@@ -39,6 +39,7 @@ export const EDITOR_ELEMENT_COPY_ATTR: Array<keyof IElement> = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
export const EDITOR_ELEMENT_ZIP_ATTR: Array<keyof IElement> = [
|
export const EDITOR_ELEMENT_ZIP_ATTR: Array<keyof IElement> = [
|
||||||
|
'id',
|
||||||
'type',
|
'type',
|
||||||
'font',
|
'font',
|
||||||
'size',
|
'size',
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@ import { IEditorData } from '../editor'
|
|||||||
|
|
||||||
const CONFLICT_MARKER_HIGHLIGHT = '#fff3cd'
|
const CONFLICT_MARKER_HIGHLIGHT = '#fff3cd'
|
||||||
const CONFLICT_MARKER_COLOR = '#b42318'
|
const CONFLICT_MARKER_COLOR = '#b42318'
|
||||||
const CONFLICT_MARKER_REG = /^(<<<<<<<|=======|>>>>>>>)\b/
|
const CONFLICT_MARKER_REG = /^(<<<<<<<|=======|>>>>>>>).*/
|
||||||
|
|
||||||
type UnknownRecord = Record<string, unknown>
|
type UnknownRecord = Record<string, unknown>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user