Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Error: Cannot read property 'classList' of null when trying to load the editor inside a nested component. #53

Open
oliverseddon opened this issue Apr 5, 2020 · 0 comments

Comments

@oliverseddon
Copy link

oliverseddon commented Apr 5, 2020

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:

  1. 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant