/*\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
html : '<div style="white-space:normal;width:340px;">' + editor.lang.clipboard.pasteMsg + '</div>'\r
},\r
{\r
- type : 'html',\r
+ type : 'textarea',\r
id : 'content',\r
- style : 'width:340px;height:170px',\r
- html :\r
- '<textarea style="' +\r
- 'width:346px;' +\r
- 'height:170px;' +\r
- 'resize: none;' +\r
- 'border:1px solid black;' +\r
- 'background-color:white">' +\r
- '</textarea>',\r
+ className : 'cke_pastetext',\r
+\r
+ onLoad : function()\r
+ {\r
+ var label = this.getDialog().getContentElement( 'general', 'pasteMsg' ).getElement(),\r
+ input = this.getElement().getElementsByTag( 'textarea' ).getItem( 0 );\r
+\r
+ input.setAttribute( 'aria-labelledby', label.$.id );\r
+ input.setStyle( 'direction', editor.config.contentsLangDirection );\r
+ },\r
+\r
focus : function()\r
{\r
this.getElement().focus();\r