Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.5.1
[ckeditor.git]
/
_source
/
plugins
/
pastetext
/
dialogs
/
pastetext.js
diff --git
a/_source/plugins/pastetext/dialogs/pastetext.js
b/_source/plugins/pastetext/dialogs/pastetext.js
index
9ff4f74
..
42a021f
100644
(file)
--- a/
_source/plugins/pastetext/dialogs/pastetext.js
+++ b/
_source/plugins/pastetext/dialogs/pastetext.js
@@
-1,5
+1,5
@@
/*
\r
/*
\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
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
*/
\r
\r
@@
-44,24
+44,17
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
html : '<div style="white-space:normal;width:340px;">' + editor.lang.clipboard.pasteMsg + '</div>'
\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
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
\r
onLoad : function()
\r
{
\r
var label = this.getDialog().getContentElement( 'general', 'pasteMsg' ).getElement(),
\r
- input = this.getElement();
\r
+ input = this.getElement().getElementsByTag( 'textarea' ).getItem( 0 );
\r
\r
input.setAttribute( 'aria-labelledby', label.$.id );
\r
\r
input.setAttribute( 'aria-labelledby', label.$.id );
\r
+ input.setStyle( 'direction', editor.config.contentsLangDirection );
\r
},
\r
\r
focus : function()
\r
},
\r
\r
focus : function()
\r