diff-cke5react
13 removals
74 lines
43 additions
104 lines
----- START -----
----- START -----
useMultiRootEditor:return - editorRefs.instance.current?.id undefined
useMultiRootEditor:return - editorRefs.instance.current?.id undefined
useMultiRootEditor:return - editorRefs.instance.current?.id undefined
useMultiRootEditor:return - editorRefs.instance.current?.id undefined
useLifeCycleSemaphoreSyncRef:runAfterMount - revision 1728908958656
useLifeCycleSemaphoreSyncRef:runAfterMount - revision 1728909075935
useMultiRootEditor:return - editorRefs.instance.current?.id undefined
useMultiRootEditor:return - editorRefs.instance.current?.id undefined
useMultiRootEditor:_initializeEditor - totalRestartsRef {
useMultiRootEditor:_initializeEditor - totalRestartsRef {
"current": 0,
"current": 0,
}
}
useMultiRootEditor:_initializeEditor:watchdog.setCreator - totalRestartsRef.current +0
useMultiRootEditor:_initializeEditor:watchdog.setCreator - totalRestartsRef.current +0
useMultiRootEditor:_externalSetData - newData {
useMultiRootEditor:_externalSetData - newData {
"content": "",
"content": "",
"intro": "Hello World!",
"intro": "Hello World!",
}
}
useLifeCycleSemaphoreSyncRef:runAfterMount - revision 1728908958656
useLifeCycleSemaphoreSyncRef:runAfterMount - revision 1728909075935
----- ASSERT -----
----- ASSERT -----
useMultiRootEditor:useInstantEditorEffect - shouldUpdateEditor.current true
useMultiRootEditor:useInstantEditorEffect - data {}
useMultiRootEditor:useInstantEditorEffect - instance.data.get(), instance.id {} ee9e8e2bde0ca16fea929a15e86555d27
useMultiRootEditor:useInstantEditorEffect - editorRefs.instance.current?.data.get(), editorRefs.instance.current?.id {} ee9e8e2bde0ca16fea929a15e86555d27
useMultiRootEditor:useInstantEditorEffect - roots, instance.model.document.getRoots() [
"intro",
"content",
"footer",
] [
"intro",
"content",
"footer",
]
useMultiRootEditor:useInstantEditorEffect - newRoots []
useMultiRootEditor:useInstantEditorEffect - removedRoots [
"intro",
"content",
"footer",
]
useMultiRootEditor:_externalSetData:semaphore.runAfterMount - newData, houldUpdateEditor.current {
useMultiRootEditor:_externalSetData:semaphore.runAfterMount - newData, houldUpdateEditor.current {
"content": "",
"content": "",
"intro": "Hello World!",
"intro": "Hello World!",
} true
} false
useMultiRootEditor:useEffect:semaphore.replace:afterMount
useMultiRootEditor:useEffect:semaphore.replace:afterMount
useMultiRootEditor:useInstantEditorEffect - shouldUpdateEditor.current true
useMultiRootEditor:useInstantEditorEffect - shouldUpdateEditor.current true
useMultiRootEditor:useInstantEditorEffect - data {
useMultiRootEditor:useInstantEditorEffect - data {
"content": "",
"content": "",
"intro": "Hello World!",
"intro": "Hello World!",
}
}
useMultiRootEditor:useInstantEditorEffect - instance.data.get(), instance.id {} eab447c86dc59195b19d8fefbfd95f8e7
useMultiRootEditor:useInstantEditorEffect - instance.data.get(), instance.id {} ee9e8e2bde0ca16fea929a15e86555d27
useMultiRootEditor:useInstantEditorEffect - editorRefs.instance.current?.data.get(), editorRefs.instance.current?.id {} eab447c86dc59195b19d8fefbfd95f8e7
useMultiRootEditor:useInstantEditorEffect - editorRefs.instance.current?.data.get(), editorRefs.instance.current?.id {} ee9e8e2bde0ca16fea929a15e86555d27
useMultiRootEditor:useInstantEditorEffect - roots, instance.model.document.getRoots() [
useMultiRootEditor:useInstantEditorEffect - roots, instance.model.document.getRoots() [
"intro",
"intro",
"content",
"content",
"footer",
"footer",
] [
] [
"intro",
"intro",
"content",
"content",
"footer",
"footer",
]
]
useMultiRootEditor:useInstantEditorEffect - newRoots []
useMultiRootEditor:useInstantEditorEffect - newRoots []
useMultiRootEditor:useInstantEditorEffect - removedRoots [
useMultiRootEditor:useInstantEditorEffect - removedRoots [
"footer",
"footer",
]
]
useMultiRootEditor:return - editorRefs.instance.current?.id eab447c86dc59195b19d8fefbfd95f8e7
useMultiRootEditor:return - editorRefs.instance.current?.id ee9e8e2bde0ca16fea929a15e86555d27
useMultiRootEditor:return - editorRefs.instance.current?.id eab447c86dc59195b19d8fefbfd95f8e7
useMultiRootEditor:return - editorRefs.instance.current?.id ee9e8e2bde0ca16fea929a15e86555d27
useMultiRootEditor:useInstantEditorEffect:_updateEditorData - dataToUpdate {
useMultiRootEditor:useInstantEditorEffect:_updateEditorData - dataToUpdate {
"content": "",
"content": "",
"intro": "Hello World!",
"intro": "Hello World!",
}
}
useMultiRootEditor:onDetachRoot - rootName footer
useMultiRootEditor:onDetachRoot - rootName footer
useMultiRootEditor:onChangeData - newData {}
useMultiRootEditor:onChangeData - newData {}
useMultiRootEditor:useInstantEditorEffect - shouldUpdateEditor.current false
useMultiRootEditor:useInstantEditorEffect - shouldUpdateEditor.current false
useMultiRootEditor:useInstantEditorEffect - data {
useMultiRootEditor:useInstantEditorEffect - data {
"content": "",
"content": "",
"intro": "Hello World!",
"intro": "Hello World!",
}
}
useMultiRootEditor:useInstantEditorEffect - instance.data.get(), instance.id {
useMultiRootEditor:useInstantEditorEffect - instance.data.get(), instance.id {
"content": "",
"content": "",
"intro": "Hello World!",
"intro": "Hello World!",
} eab447c86dc59195b19d8fefbfd95f8e7
} ee9e8e2bde0ca16fea929a15e86555d27
useMultiRootEditor:useInstantEditorEffect - editorRefs.instance.current?.data.get(), editorRefs.instance.current?.id {
useMultiRootEditor:useInstantEditorEffect - editorRefs.instance.current?.data.get(), editorRefs.instance.current?.id {
"content": "",
"content": "",
"intro": "Hello World!",
"intro": "Hello World!",
} eab447c86dc59195b19d8fefbfd95f8e7
} ee9e8e2bde0ca16fea929a15e86555d27
useMultiRootEditor:useInstantEditorEffect - roots, instance.model.document.getRoots() [
useMultiRootEditor:useInstantEditorEffect - roots, instance.model.document.getRoots() [
"intro",
"intro",
"content",
"content",
] [
] [
"intro",
"intro",
"content",
"content",
]
]
useMultiRootEditor:return - editorRefs.instance.current?.id eab447c86dc59195b19d8fefbfd95f8e7
useMultiRootEditor:return - editorRefs.instance.current?.id ee9e8e2bde0ca16fea929a15e86555d27
useMultiRootEditor:return - editorRefs.instance.current?.id eab447c86dc59195b19d8fefbfd95f8e7
useMultiRootEditor:return - editorRefs.instance.current?.id ee9e8e2bde0ca16fea929a15e86555d27
useMultiRootEditor:_initializeEditor:watchdog.on_error [CKEditorError: writer-detachroot-no-root
Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-writer-detachroot-no-root]
useMultiRootEditor:_initializeEditor:watchdog.setCreator - totalRestartsRef.current 1
useMultiRootEditor:return - editorRefs.instance.current?.id ead7e49e7b97f24d64f968654f434db89
----- ASSERT -----
----- ASSERT -----
{
{
"content": "",
"content": "",
"intro": "Hello World!",
"intro": "",
} eab447c86dc59195b19d8fefbfd95f8e7
} ead7e49e7b97f24d64f968654f434db89
----- ASSERT -----
{
"content": "",
"intro": "",
} ead7e49e7b97f24d64f968654f434db89