Ticket #29815: 29815.patch
| File 29815.patch, 674 bytes (added by , 11 years ago) |
|---|
-
src/wp-admin/js/editor.js
76 76 77 77 DOM.removeClass( wrap_id, 'html-active' ); 78 78 DOM.addClass( wrap_id, 'tmce-active' ); 79 DOM.setAttrib( txtarea_el, 'aria-hidden', true ); 79 80 setUserSetting( 'editor', 'tinymce' ); 80 81 81 82 } else if ( 'html' === mode ) { … … 112 113 113 114 DOM.removeClass( wrap_id, 'tmce-active' ); 114 115 DOM.addClass( wrap_id, 'html-active' ); 116 DOM.setAttrib( txtarea_el, 'aria-hidden', false ); 115 117 setUserSetting( 'editor', 'html' ); 116 118 } 117 119 return false;