aboutsummaryrefslogtreecommitdiff
path: root/js/io/document/html-document.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/io/document/html-document.js')
-rwxr-xr-xjs/io/document/html-document.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/io/document/html-document.js b/js/io/document/html-document.js
index 2ece76c5..99bf4576 100755
--- a/js/io/document/html-document.js
+++ b/js/io/document/html-document.js
@@ -471,8 +471,9 @@ var HTMLDocument = exports.HTMLDocument = Montage.create(baseDocumentModule.Base
471 save: { 471 save: {
472 enumerable: false, 472 enumerable: false,
473 value: function () { 473 value: function () {
474 //TODO: Add code view logic 474 //console.log(this._styles, this._stylesheets);
475 return {mode: 'html', document: this._userDocument, head: this._templateDocument.head.innerHTML, body: this._templateDocument.body.innerHTML}; 475 //TODO: Add code view logic and also styles for HTML
476 return {mode: 'html', document: this._userDocument, style: this._styles, head: this._templateDocument.head.innerHTML, body: this._templateDocument.body.innerHTML};
476 } 477 }
477 } 478 }
478 //////////////////////////////////////////////////////////////////// 479 ////////////////////////////////////////////////////////////////////