Closed ArcaTech closed 1 year ago
Since attributes are persisted but clipboard state isn't, this could lead to inconsistent state across a page reload. Instead of storing it in an attribute, maybe you could just check the clipboard state if the node is in there?
Oh yeah actually that makes more sense. I'll do that.
Ok @progrium I made the change. Much cleaner.
This adds a new
cut
attr to nodes when they're cut, and adds acut-node
class that sets display to none.@taramk let me know how you feel about it.
Closes #274