From e3d38a12c37e706077d9a42194fb80eb05e12658 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Mon, 7 Oct 2013 15:59:51 +0200 Subject: [PATCH] integration fix: sourceEditor module --- src/editor/modules/sourceEditor/sourceEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/modules/sourceEditor/sourceEditor.js b/src/editor/modules/sourceEditor/sourceEditor.js index e88e5e1..2e2e6ab 100644 --- a/src/editor/modules/sourceEditor/sourceEditor.js +++ b/src/editor/modules/sourceEditor/sourceEditor.js @@ -27,7 +27,7 @@ return function(sandbox) { return view; }, setDocument: function(document) { - editor.setValue(document); + editor.setValue(document.toXML()); editor.gotoLine(0); sandbox.publish('documentSet'); }, -- 2.20.1