Sha256: 274dce1d3b92b4f872399db3bec9c95555a3347e67c5087a4472f07a10d46666

Contents?: true

Size: 1.02 KB

Versions: 5

Compression:

Stored size: 1.02 KB

Contents

tinyMCEPopup.requireLangPack();tinyMCEPopup.onInit.add(onLoadInit);function saveContent(){tinyMCEPopup.editor.setContent(document.getElementById("htmlSource").value,{source_view:true});tinyMCEPopup.close()}function onLoadInit(){tinyMCEPopup.resizeToInnerSize();if(tinymce.isGecko){document.body.spellcheck=tinyMCEPopup.editor.getParam("gecko_spellcheck")}document.getElementById("htmlSource").value=tinyMCEPopup.editor.getContent({source_view:true});if(tinyMCEPopup.editor.getParam("theme_advanced_source_editor_wrap",true)){setWrap("soft");document.getElementById("wraped").checked=true}resizeInputs()}function setWrap(c){var a,d,b=document.getElementById("htmlSource");b.wrap=c;if(!tinymce.isIE){a=b.value;d=b.cloneNode(false);d.setAttribute("wrap",c);b.parentNode.replaceChild(d,b);d.value=a}}function toggleWordWrap(a){if(a.checked){setWrap("soft")}else{setWrap("off")}}function resizeInputs(){var a=tinyMCEPopup.dom.getViewPort(window),b;b=document.getElementById("htmlSource");if(b){b.style.width=(a.w-20)+"px";b.style.height=(a.h-65)+"px"}};

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
compass-jquery-plugin-0.3.3.1 templates/tiny_mce/tiny_mce/themes/advanced/js/source_editor.js
compass-jquery-plugin-0.3.3.0 templates/tiny_mce/tiny_mce/themes/advanced/js/source_editor.js
compass-jquery-plugin-0.3.2.8 templates/tiny_mce/tiny_mce/themes/advanced/js/source_editor.js
compass-jquery-plugin-0.3.2.7 templates/tiny_mce/tiny_mce/themes/advanced/js/source_editor.js
compass-jquery-plugin-0.3.2.7.nil templates/tiny_mce/tiny_mce/themes/advanced/js/source_editor.js