diff options
| author | Lester Caine <lester@lsces.co.uk> | 2010-03-22 22:10:52 +0000 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2010-03-22 22:10:52 +0000 |
| commit | 71224fa72e9c7cb45518813513750b5305030b90 (patch) | |
| tree | 20ced4dfc65e0f2401f4869d6f2f376fbd340158 /plugins/pastetext | |
| parent | 29f4d82d692440a219ab4302b2245122476ef69f (diff) | |
| download | ckeditor-71224fa72e9c7cb45518813513750b5305030b90.tar.gz ckeditor-71224fa72e9c7cb45518813513750b5305030b90.tar.bz2 ckeditor-71224fa72e9c7cb45518813513750b5305030b90.zip | |
Upgrade to version 3.2 ( No apologies for commit method )
Diffstat (limited to 'plugins/pastetext')
| -rw-r--r-- | plugins/pastetext/dialogs/pastetext.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/pastetext/dialogs/pastetext.js b/plugins/pastetext/dialogs/pastetext.js index 77383d9..6ded140 100644 --- a/plugins/pastetext/dialogs/pastetext.js +++ b/plugins/pastetext/dialogs/pastetext.js @@ -1,6 +1,6 @@ -/* -Copyright (c) 2003-2010, 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(),c=this.getParentEditor();setTimeout(function(){c.fire('paste',{text:b});},0);},contents:[{label:a.lang.common.generalTab,id:'general',elements:[{type:'html',id:'pasteMsg',html:'<div style="white-space:normal;width:340px;">'+a.lang.clipboard.pasteMsg+'</div>'},{type:'html',id:'content',style:'width:340px;height:170px',html:'<textarea style="width:346px;height:170px;resize: none;border:1px solid black;background-color:white"></textarea>',focus:function(){this.getElement().focus();}}]}]};});})(); +/*
+Copyright (c) 2003-2010, 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(),c=this.getParentEditor();setTimeout(function(){c.fire('paste',{text:b});},0);},contents:[{label:a.lang.common.generalTab,id:'general',elements:[{type:'html',id:'pasteMsg',html:'<div style="white-space:normal;width:340px;">'+a.lang.clipboard.pasteMsg+'</div>'},{type:'html',id:'content',style:'width:340px;height:170px',html:'<textarea style="width:346px;height:170px;resize: none;border:1px solid black;background-color:white"></textarea>',onLoad:function(){var b=this.getDialog().getContentElement('general','pasteMsg').getElement(),c=this.getElement();c.setAttribute('aria-labelledby',b.$.id);},focus:function(){this.getElement().focus();}}]}]};});})();
|
