CKEditorError: datacontroller-get-non-existent-root
Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-datacontroller-get-non-existent-root
at DataController.get (ckeditor5.js?v=656b2241:33234:13)
at DataController.<anonymous> (ckeditor5.js?v=656b2241:10111:37)
at DataController.fire (ckeditor5.js?v=656b2241:9769:35)
at <computed> [as get] (ckeditor5.js?v=656b2241:10114:21)
at MultiRootEditor.getData (ckeditor5.js?v=656b2241:46639:22)
at Object.onChange (EditorBox.jsx?t=1730107742558:186:23)
...
Trying to follow the official guide https://ckeditor.com/docs/ckeditor5/latest/getting-started/installation/react/react-multiroot.html with two way binding disabled to have a controlled component.
However, on trying to access the data via
getData()
function on the editor instance, I getdatacontroller-get-non-existent-root
error.Error as follows:
Versions: