Commit 1e822df Alexis Beingessner
committed
1 parent 8824873 commit 1e822df Copy full SHA for 1e822df
File tree 3 files changed +7
-5
lines changed
3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 541
541
'</div>'
542
542
543
543
// The previewer is just an empty box for the generated HTML to go into
544
- , previewer : '<div id="epiceditor-preview"></div>'
544
+ , previewer : '<!doctype HTML><div id="epiceditor-preview"></div>'
545
+ , editor : '<!doctype HTML>'
545
546
} ;
546
547
547
548
// Write an iframe and then select it for the editor
572
573
self . editorIframeDocument = _getIframeInnards ( self . editorIframe ) ;
573
574
self . editorIframeDocument . open ( ) ;
574
575
// Need something for... you guessed it, Firefox
575
- self . editorIframeDocument . write ( '' ) ;
576
+ self . editorIframeDocument . write ( _HtmlTemplates . editor ) ;
576
577
self . editorIframeDocument . close ( ) ;
577
578
578
579
// Setup the previewer iframe
You can’t perform that action at this time.
0 commit comments