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

Cannot read property 'nodeType' of null #1689

Closed
kui-wang-dada opened this issue Aug 5, 2021 · 1 comment
Closed

Cannot read property 'nodeType' of null #1689

kui-wang-dada opened this issue Aug 5, 2021 · 1 comment
Labels
Type: Bug The issue or pullrequest is related to a bug

Comments

@kui-wang-dada
Copy link

Description
Click the button to add a custom component, an error occurs

Steps to reproduce the bug
Steps to reproduce the behavior:

  1. Use nodeview to implement custom components
  2. Control with one button
  3. Click and error occurs

CodeSandbox
I created a CodeSandbox to help you debug the issue:

Expected behavior
click button and create the custom components

Screenshot, video, or GIF
image

Environment?

  • operating system: mac
  • browser: google
  • mobile/desktop: desktop
  • tiptap version:
    image
@kui-wang-dada kui-wang-dada added Type: Bug The issue or pullrequest is related to a bug v2 labels Aug 5, 2021
@philippkuehn
Copy link
Contributor

seems to be the same issue as #1520

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug The issue or pullrequest is related to a bug
Projects
None yet
Development

No branches or pull requests

2 participants