X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fpastetext%2Fdialogs%2Fpastetext.js;h=c63025f70af0d1602254847542b427979bc7a346;hb=66f4ae0bf0280ed56bf7c0f4ab175424dd1d47a0;hp=0c7df34025af0d971ff14d02e5ac46080325b314;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6;p=ckeditor.git diff --git a/_source/plugins/pastetext/dialogs/pastetext.js b/_source/plugins/pastetext/dialogs/pastetext.js index 0c7df34..c63025f 100644 --- a/_source/plugins/pastetext/dialogs/pastetext.js +++ b/_source/plugins/pastetext/dialogs/pastetext.js @@ -52,9 +52,19 @@ For licensing, see LICENSE.html or http://ckeditor.com/license 'width:346px;' + 'height:170px;' + 'resize: none;' + + 'direction:' + editor.config.contentsLangDirection + ';' + 'border:1px solid black;' + 'background-color:white">' + '', + + onLoad : function() + { + var label = this.getDialog().getContentElement( 'general', 'pasteMsg' ).getElement(), + input = this.getElement(); + + input.setAttribute( 'aria-labelledby', label.$.id ); + }, + focus : function() { this.getElement().focus();