editor: canvas - initiate commands transactions via Document.transaction
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Fri, 28 Mar 2014 13:52:49 +0000 (14:52 +0100)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Fri, 28 Mar 2014 15:22:11 +0000 (16:22 +0100)
commit78f57106d86fd31156033dce3d4fa9d8df5361fa
tree244fa7e59709bea9123b759511a2e1d1cfac9c24
parent880c488dbdf310c616a237274d84d93517403372
editor: canvas - initiate commands transactions via Document.transaction

This makes those transactions support automatic rollback on error.
src/editor/modules/documentCanvas/commands.js