[Bug]: Inserting new block using insertContent function at paragraph start will create empty paragraph above #5943
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Type: Bug
The issue or pullrequest is related to a bug
Affected Packages
core
Version(s)
2.10.3
Bug Description
Steps to reproduce
Browser Used
Chrome
Code Example URL
https://codesandbox.io/p/devbox/jovial-waterfall-z9nvpx
Expected Behavior
it should insert new node without creating additional empy paragraph
Additional Context (Optional)
when you now position at the end of paragraph and insert the block node using insertContent function it will do it correctly, it will just insert it after current paragraph, no empty paragraph will appear after, so it should do it same on paragraph start.
Dependency Updates
The text was updated successfully, but these errors were encountered: