tinyMCEPopup.onInit.add(onLoadInit);\r
\r
function saveContent() {\r
- tinyMCEPopup.editor.setContent(document.getElementById('htmlSource').value);\r
+ tinyMCEPopup.editor.setContent(document.getElementById('htmlSource').value, {source_view : true});\r
tinyMCEPopup.close();\r
}\r
\r
if (tinymce.isGecko)\r
document.body.spellcheck = tinyMCEPopup.editor.getParam("gecko_spellcheck");\r
\r
- document.getElementById('htmlSource').value = tinyMCEPopup.editor.getContent();\r
+ document.getElementById('htmlSource').value = tinyMCEPopup.editor.getContent({source_view : true});\r
\r
if (tinyMCEPopup.editor.getParam("theme_advanced_source_editor_wrap", true)) {\r
setWrap('soft');\r