-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vue component plugin unmount error #2459
Labels
Comments
I had the same error, but fixed it by having 1 single element in the vue component.
See https://deepscan.io/docs/rules/vue-multiple-template-root Change your DummyPluginComponent.vue template to:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure if it's related to my previous issue, but there's a second problem happening when running my vue component as a plugin (I can only seem to reproduce it when the vue component plugin block is the first block, and in some conditions mentioned below)
I created a demo repo to illustrate the issue (use the vue-unmount-error branch)
https://github.com/andrei4002/editorjs-test
The scenario is
although this error comes up within vue i'm not sure entirely what part of the workflow causes it, if it's an editor issue or a vue issue, and why only when it's the first block (I'm only getting this vue error in the context of using the vue component in the editor)
a few other things i noticed:
The text was updated successfully, but these errors were encountered: