fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wip: canvas reacts to nodeTagChange event
[fnpeditor.git]
/
src
/
editor
/
modules
/
sourceEditor
/
sourceEditor.js
diff --git
a/src/editor/modules/sourceEditor/sourceEditor.js
b/src/editor/modules/sourceEditor/sourceEditor.js
index
e88e5e1
..
2e2e6ab
100644
(file)
--- 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');
},