-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Labels
Open SourceThe issue or pull reuqest is related to the open source packages of Tiptap.The issue or pull reuqest is related to the open source packages of Tiptap.
Description
Affected Packages
core,react
Version(s)
3.0.0@latest
Bug Description
Custom atom node with multiple siblings results in "Invalid array passed to renderSpec"
https://codesandbox.io/p/sandbox/tiptap-custom-storage-issue-forked-lntpcp
This works just fine:
return [
"div",
{ ...HTMLAttributes, class: "stats" },
[
"div",
{ class: "stat" },
["div", { class: "stat-title" }, "Title"],
[
"div",
{ class: "stat-value" },
"1,000",
],
]
];Browser Used
Chrome
Code Example URL
https://codesandbox.io/p/sandbox/tiptap-custom-storage-issue-forked-lntpcp
Expected Behavior
Should support nested siblings.
Additional Context (Optional)
No response
Dependency Updates
- Yes, I've updated all my dependencies.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Open SourceThe issue or pull reuqest is related to the open source packages of Tiptap.The issue or pull reuqest is related to the open source packages of Tiptap.