[PRO]: extension-unique-id does not maintain ids #3974
Labels
Category: Pro
The issue or pull request is related to the pro 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
Which packages did you experience the bug in?
extension-unique-id
What Tiptap version are you using?
2.0.0
What’s the bug you are facing?
I use
setContent
with the following content (already containing unique ids in fielduid
):When retrieving the content with
editor.getJSON()
, I can notice that the final ids of the empty paragraph have changed:What browser are you using?
Chrome
Code example
No response
What did you expect to happen?
I would have expected the ids to remain unchanged because setting the content with all nodes already have a unique id.
I'm also not sure to understand why id
bbe397c0-8088-4cb2-9851-ee32bebd3312
is changing position in the document.Anything to add? (optional)
No response
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: