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

[Bug]: @vue/devtools shows NodeView components as "Anonymous Component" #3965

Closed
1 of 2 tasks
segevfiner opened this issue Apr 17, 2023 · 1 comment · Fixed by #3970
Closed
1 of 2 tasks

[Bug]: @vue/devtools shows NodeView components as "Anonymous Component" #3965

segevfiner opened this issue Apr 17, 2023 · 1 comment · Fixed by #3970
Assignees
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Triage: Open A new issue or pullrequest that requires triage (added by default) Type: Bug The issue or pullrequest is related to a bug

Comments

@segevfiner
Copy link
Contributor

Which packages did you experience the bug in?

vue-3

What Tiptap version are you using?

2.0.3

What’s the bug you are facing?

All node view components under the EditorContent show up as "Anonymous Component" in the Vue devtools. This makes it more difficult to debug as you then have to wade around through a bunch of "Anonymous Component" to find the one you want to look at.

Steps to reproduce:

  1. Install the Vue devtools extension for your browser.
  2. Open the reproduction.
  3. Click "Open in New Tab" (Vue devtools don't seem to work in the iframe in StackBlitz, but will work when opening in a tab).
  4. Open the Vue devtools, check the components under the EditorContent component.

What browser are you using?

Chrome

Code example

https://stackblitz.com/edit/vitejs-vite-tkbxce?file=src/extensions/foo.ts

What did you expect to happen?

The component names to appear as for regular components in dev builds.

Anything to add? (optional)

screenshot

Did you update your dependencies?

  • Yes, I’ve updated my dependencies to use the latest version of all packages.

Are you sponsoring us?

  • Yes, I’m a sponsor. 💖
@segevfiner segevfiner added Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Triage: Open A new issue or pullrequest that requires triage (added by default) Type: Bug The issue or pullrequest is related to a bug labels Apr 17, 2023
@YossiSaadi
Copy link

I'm experiencing the same, seems like that was behavior since ever

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Triage: Open A new issue or pullrequest that requires triage (added by default) Type: Bug The issue or pullrequest is related to a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants