X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=plugins%2Fpastetext%2Fdialogs%2Fpastetext.js;fp=plugins%2Fpastetext%2Fdialogs%2Fpastetext.js;h=9280141e5a389b6fd53f7ef413aad794246bbd5d;hb=ea7e3453c7b0f023b050aca6d9f83ab372860d91;hp=0000000000000000000000000000000000000000;hpb=b93873b6532ee7515fb0d6f8b73176c44fad28f7;p=ckeditor.git diff --git a/plugins/pastetext/dialogs/pastetext.js b/plugins/pastetext/dialogs/pastetext.js new file mode 100644 index 0000000..9280141 --- /dev/null +++ b/plugins/pastetext/dialogs/pastetext.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +(function(){CKEDITOR.dialog.add('pastetext',function(a){return{title:a.lang.pasteText.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?368:350,minHeight:240,onShow:function(){this.getContentElement('general','content').getInputElement().setValue('');},onOk:function(){var b=this.getContentElement('general','content').getInputElement().getValue();this.getParentEditor().insertText(b);},contents:[{label:a.lang.common.generalTab,id:'general',elements:[{type:'html',id:'pasteMsg',html:'
'+a.lang.clipboard.pasteMsg+'
'},{type:'html',id:'content',style:'width:340px;height:170px',html:'',focus:function(){this.getElement().focus();}}]}]};});})();