delegation tiny_mce et install pour sqlite
[mw_pages] / app / out / default / tiny_mce / themes / advanced / js / source_editor.js
diff --git a/app/out/default/tiny_mce/themes/advanced/js/source_editor.js b/app/out/default/tiny_mce/themes/advanced/js/source_editor.js
deleted file mode 100644 (file)
index 2793286..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-tinyMCEPopup.requireLangPack();\r
-tinyMCEPopup.onInit.add(onLoadInit);\r
-\r
-function saveContent() {\r
-       tinyMCEPopup.editor.setContent(document.getElementById('htmlSource').value, {source_view : true});\r
-       tinyMCEPopup.close();\r
-}\r
-\r
-function onLoadInit() {\r
-       tinyMCEPopup.resizeToInnerSize();\r
-\r
-       // Remove Gecko spellchecking\r
-       if (tinymce.isGecko)\r
-               document.body.spellcheck = tinyMCEPopup.editor.getParam("gecko_spellcheck");\r
-\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
-               document.getElementById('wraped').checked = true;\r
-       }\r
-\r
-       resizeInputs();\r
-}\r
-\r
-function setWrap(val) {\r
-       var v, n, s = document.getElementById('htmlSource');\r
-\r
-       s.wrap = val;\r
-\r
-       if (!tinymce.isIE) {\r
-               v = s.value;\r
-               n = s.cloneNode(false);\r
-               n.setAttribute("wrap", val);\r
-               s.parentNode.replaceChild(n, s);\r
-               n.value = v;\r
-       }\r
-}\r
-\r
-function toggleWordWrap(elm) {\r
-       if (elm.checked)\r
-               setWrap('soft');\r
-       else\r
-               setWrap('off');\r
-}\r
-\r
-var wHeight=0, wWidth=0, owHeight=0, owWidth=0;\r
-\r
-function resizeInputs() {\r
-       var el = document.getElementById('htmlSource');\r
-\r
-       if (!tinymce.isIE) {\r
-                wHeight = self.innerHeight - 65;\r
-                wWidth = self.innerWidth - 16;\r
-       } else {\r
-                wHeight = document.body.clientHeight - 70;\r
-                wWidth = document.body.clientWidth - 16;\r
-       }\r
-\r
-       el.style.height = Math.abs(wHeight) + 'px';\r
-       el.style.width  = Math.abs(wWidth) + 'px';\r
-}\r