Closed brunocroh closed 5 months ago
In some cases when select a new node on node selector, it remains with previous selection
https://github.com/steven-tey/novel/assets/13812512/0a297629-c2b1-4fec-ae55-cb51ea59bd93
I added .clearNodes()to all command chains on select nodes, this way all nodes become a paragraph, before to be applied new node, removing completely old node references.
.clearNodes()
https://github.com/steven-tey/novel/assets/13812512/b82fd967-8057-47e9-94b2-3cc5c1dcb393
@brunocroh is attempting to deploy a commit to the Elegance Team on Vercel.
A member of the Team first needs to authorize it.
description
In some cases when select a new node on node selector, it remains with previous selection
https://github.com/steven-tey/novel/assets/13812512/0a297629-c2b1-4fec-ae55-cb51ea59bd93
What I did
I added
.clearNodes()
to all command chains on select nodes, this way all nodes become a paragraph, before to be applied new node, removing completely old node references.Result
https://github.com/steven-tey/novel/assets/13812512/b82fd967-8057-47e9-94b2-3cc5c1dcb393