mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-02 03:52:43 +00:00
Monotone-Parent: 6970e7a89b13f1353d770e663717021a53350856 Monotone-Revision: 234b2f16dd5cc3d6eed2d10a0ab8fca81cb44795 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2010-01-14T16:35:33 Monotone-Branch: ca.inverse.sogo
7 lines
1004 B
JavaScript
7 lines
1004 B
JavaScript
/*
|
|
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();}}]}]};});})();
|