Skip to content

Commit

Permalink
Fix positional info in attributes on playground
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Sep 20, 2024
1 parent d586720 commit 2a5ca79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/_asset/editor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,7 @@ function cleanUnistNode(node) {
Array.isArray(node.attributes)
) {
for (const attribute of node.attributes) {
removePosition(attribute, {force: true})
cleanUnistNode(attribute)
}
}
Expand Down

0 comments on commit 2a5ca79

Please sign in to comment.