Sha256: 8a5988f9a8656f15dcd4d175c652862d95ad912b37ece2e0742ecf93b11dff19

Contents?: true

Size: 1.22 KB

Versions: 20

Compression:

Stored size: 1.22 KB

Contents

tinyMCEPopup.requireLangPack();var PasteWordDialog={init:function(){var a=tinyMCEPopup.editor,c=document.getElementById("iframecontainer"),f,e,b,d="";c.innerHTML='<iframe id="iframe" src="javascript:\'\';" frameBorder="0" style="border: 1px solid gray"></iframe>';f=document.getElementById("iframe");e=f.contentWindow.document;b=[a.baseURI.toAbsolute("themes/"+a.settings.theme+"/skins/"+a.settings.skin+"/content.css")];b=b.concat(tinymce.explode(a.settings.content_css)||[]);tinymce.each(b,function(g){d+='<link href="'+a.documentBaseURI.toAbsolute(""+g)+'" rel="stylesheet" type="text/css" />'});e.open();e.write("<html><head>"+d+'</head><body class="mceContentBody" spellcheck="false"></body></html>');e.close();e.designMode="on";this.resize();window.setTimeout(function(){f.contentWindow.focus()},10)},insert:function(){var a=document.getElementById("iframe").contentWindow.document.body.innerHTML;tinyMCEPopup.editor.execCommand("mceInsertClipboardContent",false,{content:a,wordContent:true});tinyMCEPopup.close()},resize:function(){var a=tinyMCEPopup.dom.getViewPort(window),b;b=document.getElementById("iframe");if(b){b.style.width=(a.w-20)+"px";b.style.height=(a.h-90)+"px"}}};tinyMCEPopup.onInit.add(PasteWordDialog.init,PasteWordDialog);

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
compass-jquery-plugin-0.3.3.1 templates/tiny_mce/tiny_mce/plugins/paste/js/pasteword.js
compass-jquery-plugin-0.3.3.0 templates/tiny_mce/tiny_mce/plugins/paste/js/pasteword.js
compass-jquery-plugin-0.3.2.8 templates/tiny_mce/tiny_mce/plugins/paste/js/pasteword.js
compass-jquery-plugin-0.3.2.7 templates/tiny_mce/tiny_mce/plugins/paste/js/pasteword.js
compass-jquery-plugin-0.3.2.7.nil templates/tiny_mce/tiny_mce/plugins/paste/js/pasteword.js
beef-admin_area-0.3.9 generators/admin_area_files/templates/public/javascripts/admin/tiny_mce.old/plugins/paste/js/pasteword.js
beef-admin_area-0.3.8 generators/admin_area_files/templates/public/javascripts/admin/tiny_mce.old/plugins/paste/js/pasteword.js
beef-admin_area-0.3.7 generators/admin_area_files/templates/public/javascripts/admin/tiny_mce.old/plugins/paste/js/pasteword.js
beef-admin_area-0.3.6 generators/admin_area_files/templates/public/javascripts/admin/tiny_mce.old/plugins/paste/js/pasteword.js
beef-admin_area-0.3.4 generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/paste/js/pasteword.js
beef-admin_area-0.3.3 generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/paste/js/pasteword.js
beef-admin_area-0.3.2 generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/paste/js/pasteword.js
beef-admin_area-0.3.0 generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/paste/js/pasteword.js
beef-admin_area-0.2.6 generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/paste/js/pasteword.js
beef-admin_area-0.2.5 generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/paste/js/pasteword.js
beef-admin_area-0.2.4 generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/paste/js/pasteword.js
beef-admin_area-0.2.3 generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/paste/js/pasteword.js
beef-admin_area-0.2.2 generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/paste/js/pasteword.js
beef-admin_area-0.2.1 generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/paste/js/pasteword.js
beef-admin_area-0.2.0 generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/paste/js/pasteword.js