[Bug]: editor.commands.setContent does not set attributes on Document node #5813
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.91
Bug Description
On the Document Node, attributes were not set properly when using
editor.commands.setContent
.Browser Used
Chrome
Code Example URL
https://codesandbox.io/p/sandbox/adoring-elion-vvydqz
Expected Behavior
Attributes on Document to be set, like it was set on Paragraph.
Additional Context (Optional)
No response
Dependency Updates
The text was updated successfully, but these errors were encountered: