X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fpastetext%2Fdialogs%2Fpastetext.js;h=82e42178dac5ea9624d9a4f6800620fb64545eec;hb=refs%2Ftags%2Fv3.3.2;hp=c63025f70af0d1602254847542b427979bc7a346;hpb=66f4ae0bf0280ed56bf7c0f4ab175424dd1d47a0;p=ckeditor.git diff --git a/_source/plugins/pastetext/dialogs/pastetext.js b/_source/plugins/pastetext/dialogs/pastetext.js index c63025f..82e4217 100644 --- a/_source/plugins/pastetext/dialogs/pastetext.js +++ b/_source/plugins/pastetext/dialogs/pastetext.js @@ -44,25 +44,17 @@ For licensing, see LICENSE.html or http://ckeditor.com/license html : '
' + editor.lang.clipboard.pasteMsg + '
' }, { - type : 'html', + type : 'textarea', id : 'content', - style : 'width:340px;height:170px', - html : - '', + className : 'cke_pastetext', onLoad : function() { var label = this.getDialog().getContentElement( 'general', 'pasteMsg' ).getElement(), - input = this.getElement(); + input = this.getElement().getElementsByTag( 'textarea' ).getItem( 0 ); input.setAttribute( 'aria-labelledby', label.$.id ); + input.setStyle( 'direction', editor.config.contentsLangDirection ); }, focus : function()