Fluid Framework:SharedTree中的撤销/重做与事务
原文英文,约600词,阅读约需3分钟。发表于: 。Learn about how undo/redo operations and transactions are handled with SharedTree. The post Fluid Framework: Undo/redo and transactions in SharedTree appeared first on Microsoft 365 Developer Blog.
Fluid Framework的SharedTree支持协同编辑中的撤销/重做操作。它捕捉精确的意图,即使在远程更改的情况下也能实现撤销/重做。可还原的对象用于管理树中的更改,并可放入撤销和重做堆栈。事务可以将一组树更改视为单个操作,确保原子性。