-
+ 5D58FEB44BFCDB431DBB9B812BECB1994E9EC68353B91E7A15F2869EB4D5798077E694014CC1C104B81C6F49E0800DE874D7DC53867EBB5668D137593E17F822
mp-wp/wp-includes/js/tinymce/plugins/paste/js/pastetext.js
(0 . 0)(1 . 42)
122258 tinyMCEPopup.requireLangPack();
122259
122260 function saveContent() {
122261 if (document.forms[0].htmlSource.value == '') {
122262 tinyMCEPopup.close();
122263 return false;
122264 }
122265
122266 tinyMCEPopup.execCommand('mcePasteText', false, {
122267 html : document.forms[0].htmlSource.value,
122268 linebreaks : document.forms[0].linebreaks.checked
122269 });
122270
122271 tinyMCEPopup.close();
122272 }
122273
122274 function onLoadInit() {
122275 tinyMCEPopup.resizeToInnerSize();
122276
122277 // Remove Gecko spellchecking
122278 if (tinymce.isGecko)
122279 document.body.spellcheck = tinyMCEPopup.getParam("gecko_spellcheck");
122280
122281 resizeInputs();
122282 }
122283
122284 var wHeight=0, wWidth=0, owHeight=0, owWidth=0;
122285
122286 function resizeInputs() {
122287 if (!tinymce.isIE) {
122288 wHeight = self.innerHeight-80;
122289 wWidth = self.innerWidth-17;
122290 } else {
122291 wHeight = document.body.clientHeight-80;
122292 wWidth = document.body.clientWidth-17;
122293 }
122294
122295 document.forms[0].htmlSource.style.height = Math.abs(wHeight) + 'px';
122296 document.forms[0].htmlSource.style.width = Math.abs(wWidth) + 'px';
122297 }
122298
122299 tinyMCEPopup.onInit.add(onLoadInit);