Skip to content
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

In Vue 2 VueRenderer, only Vue.extend() non-VueConstructor arguments #2824

Conversation

ralphschindler
Copy link
Contributor

Problem: Extending a VueConstructor / Vue constructor function in development will throw a Vue.warning of Do not use built-in or reserved HTML elements as component id a.

More details: This particular constructor is called via VueNodeView.mount(), this is the only place it is called from. That particular method ensures that a VueComponent function (constructor) is passed to the VueRenderer.

see: https://github.com/ueberdosis/tiptap/blob/main/packages/vue-2/src/VueNodeViewRenderer.ts#L103-L106

@netlify
Copy link

netlify bot commented May 23, 2022

Deploy Preview for tiptap-embed ready!

Name Link
🔨 Latest commit 12422c2
🔍 Latest deploy log https://app.netlify.com/sites/tiptap-embed/deploys/628bdd3b6bba6800094fdd2c
😎 Deploy Preview https://deploy-preview-2824--tiptap-embed.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@bdbch bdbch merged commit 9cdd0eb into ueberdosis:main May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants