Issue with commandManager.initBatchCommand() and commandManager.storeBatchCommand() not storing all actions in a single batch in the undo stack #2789
-
IntroductionI'm using When I check Is there something I might be missing in the implementation of Steps to reproduceNo response Restrictions & ConstraintsNo response Does your question relate to JointJS or JointJS+. Select both if applicable.JointJS, JointJS+ |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Can you give an example of when it doesn't behave the way you expect? |
Beta Was this translation helpful? Give feedback.
-
Actions getting stored if I am using
Actions stored in normal undo stack without using the above 2 functions:
|
Beta Was this translation helpful? Give feedback.
That seems ok. If there is no batch, there is multiple records with
change:attrs
in theundostack
.If there is a batch, the records with
change:attrs
are all consolidated into one record.