X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/f7c97ef38dc00ec9b5358ae0bf959a5e6f99271c..b20691e774cac0cbf2ee174472a1b1dbc94fa61b:/modules/documentCanvas/documentCanvas.js?ds=sidebyside diff --git a/modules/documentCanvas/documentCanvas.js b/modules/documentCanvas/documentCanvas.js index a4dcf37..4ca0a4d 100644 --- a/modules/documentCanvas/documentCanvas.js +++ b/modules/documentCanvas/documentCanvas.js @@ -25,7 +25,7 @@ return function(sandbox) { sandbox.publish('documentSet'); }, getDocument: function() { - return canvas.toXML(); + return transformations.toXML.getXML(canvas.getContent()) }, modifyCurrentNode: function(attr, value) { if(manager.currentNode) {