Ticket #3098: 3098.patch

File 3098.patch, 1.2 KB (added by Martin Kou, 15 years ago)
  • _source/plugins/sourcearea/plugin.js

     
    3535                                                                outline : 'none',
    3636                                                                'text-align' : 'left' });
    3737
     38                                                        // Add the tab index for #3098.
     39                                                        var tabIndex = editor.element && editor.element.getAttribute( 'tabIndex' );
     40                                                        if ( tabIndex )
     41                                                                textarea.setAttribute( 'tabIndex', tabIndex );
     42
    3843                                                        // The textarea height/width='100%' doesn't
    3944                                                        // constraint to the 'td' in IE strick mode
    4045                                                        if ( CKEDITOR.env.ie )
  • _source/plugins/wysiwygarea/plugin.js

     
    101101                                                                width : '100%',
    102102                                                                height : '100%' });
    103103
     104                                                var tabIndex = editor.element && editor.element.getAttribute( 'tabIndex' );
     105                                                if ( tabIndex )
     106                                                        iframe.setAttribute( 'tabIndex', tabIndex );
     107
    104108                                                if ( CKEDITOR.env.ie )
    105109                                                {
    106110                                                        if ( isCustomDomain )
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy