tiptap icon indicating copy to clipboard operation
tiptap copied to clipboard

nextSibling exception

Open dudif91 opened this issue 1 year ago • 1 comments

What’s the bug you are facing?

Hi i'm getting "Cannot read properties of null (reading 'nextSibling')" when working with the tiptap editor in my app.

image

Which browser was this experienced in? Are any special extensions installed?

chrome with no special extensions using vue 2

How can we reproduce the bug on our side?

added new line with text jump to new line add ordered list enter data jump to new line enter data jump to new line jump to new line to leave the list boom exception

Can you provide a CodeSandbox?

No response

What did you expect to happen?

just work as usual with no exceptions

Anything to add? (optional)

No response

Did you update your dependencies?

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

Are you sponsoring us?

  • [ ] Yes, I’m a sponsor. 💖

dudif91 avatar Jul 21 '22 11:07 dudif91

+1 I am also experiencing the same error. In my case it is when I split a paragraph in 2

Sherby1988 avatar Aug 23 '22 08:08 Sherby1988

+1 Same problem

IBM51OO avatar Oct 08 '22 17:10 IBM51OO

+1

marcreichel avatar Oct 28 '22 09:10 marcreichel

+1

sidler avatar Oct 28 '22 09:10 sidler

+1

Beenheed avatar Oct 28 '22 10:10 Beenheed

+1

WouterSchoofs avatar Nov 16 '22 23:11 WouterSchoofs

+1

wrynnhall avatar Dec 01 '22 17:12 wrynnhall

+1

webm0fe avatar Dec 07 '22 18:12 webm0fe

+1

paulkarpenko avatar Jan 02 '23 19:01 paulkarpenko

@bdbch hi, Dominik — is there any movement on this issue? We're seeing it consistently in 2.0.0-beta.209 as well as 1.32.2.

paulkarpenko avatar Jan 09 '23 19:01 paulkarpenko

+1

YassineBouzeya avatar Jan 11 '23 09:01 YassineBouzeya

Could someone provide me with a Codesandbox which results in this bug so I can replicate it? From this issue it is not really clear what exactly leads to this issue (since there are multiple issues reported here).

bdbch avatar Jan 19 '23 09:01 bdbch

Bump - would like to figure out what's going wrong. I wasn't able to reproduce.

Feel free to use this sandbox and fork it: https://codesandbox.io/s/keen-snowflake-hxs5u5?file=/src/App.js

It's running the most recent version of Tiptap but I can't seem to reproduce the issue by the given steps in here.

bdbch avatar Feb 24 '23 14:02 bdbch

+1

empty916 avatar Apr 10 '23 09:04 empty916

my solution is to remove the vue-fragment package.

empty916 avatar Apr 12 '23 00:04 empty916

my solution is to remove the vue-fragment package.

this saved my day, works, thank you! The vue-fragment had been preserved while upgrading to nuxt 3 unintentionally.

Draccano avatar Jun 29 '23 00:06 Draccano

my solution is to remove the vue-fragment package.

very useful

lixiaowei11111 avatar Aug 10 '23 11:08 lixiaowei11111

my solution is to remove the vue-fragment package.

I recommend - https://www.npmjs.com/package/vue-frag

webm0fe avatar Aug 10 '23 11:08 webm0fe

Since it seems the problem was vue-fragment I'd close this issue for now. If you think this should be reopened let me know.

bdbch avatar Aug 10 '23 14:08 bdbch