Merge d6d6f7c1b2a24e9b4c31c0536a28501cc34c0aa4 into 6abda7ab68cc20f4aca870eb243747951b90ab04

This commit is contained in:
Bruno Moreira 2017-04-05 15:48:09 +00:00 committed by GitHub
commit dca445903c

View File

@ -779,8 +779,8 @@ function togglePreview(editor) {
toolbar.className += " active"; toolbar.className += " active";
toolbar_div.className += " disabled-for-preview"; toolbar_div.className += " disabled-for-preview";
} }
preview.innerHTML = editor.options.previewRender(editor.value(), preview);
} }
preview.innerHTML = editor.options.previewRender(editor.value(), preview);
// Turn off side by side if needed // Turn off side by side if needed
var sidebyside = cm.getWrapperElement().nextSibling; var sidebyside = cm.getWrapperElement().nextSibling;
@ -2025,4 +2025,4 @@ SimpleMDE.prototype.toTextArea = function() {
} }
}; };
module.exports = SimpleMDE; module.exports = SimpleMDE;