toast-ui.vue-editor
toast-ui.vue-editor copied to clipboard
Error: Cannot read property 'classList' of null when trying to load the editor inside a nested component.
Version
2.0.1
Test Environment
Chrome, Mac OS Catalina
Current Behavior
When registering the editor component from within a nested component I get the console error 'Cannot read propertyclassList
of null'. The editor loads fine in the parent component, just not the child or grandchild component. The toolbar loads, but no content area.
My structure is as follows:
- Page.vue - Editors works as expected 1.1. PageForm.vue - Editor produces classList error 1.1.1. PageFormTextarea.vue - Editor produces classList error
Expected Behavior
I would expect the editor to load for each level of component.