ueberdosis / tiptap

The headless rich text editor framework for web artisans.
https://tiptap.dev
MIT License
27.78k stars 2.31k forks source link

Cannot read property 'nodeType' of null #1689

Closed kui-wang-dada closed 3 years ago

kui-wang-dada commented 3 years ago

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?

philippkuehn commented 3 years ago

seems to be the same issue as #1520