diff --git a/client/commonFramework.js b/client/commonFramework.js index df99ca90f0..6e5bb4f2cf 100644 --- a/client/commonFramework.js +++ b/client/commonFramework.js @@ -794,6 +794,8 @@ $(document).ready(function() { allSeeds; myCodeMirror.setValue(replaceSafeTags(editorValue)); + myCodeMirror.refresh(); + if (typeof $preview.html() !== 'undefined') { $preview.load(function() { if (initPreview) {