Ticket #21346: 21346.patch
File 21346.patch, 1.7 KB (added by , 12 years ago) |
---|
-
wp-includes/js/quicktags.dev.js
239 239 theButtons = {}; 240 240 use = ''; 241 241 242 html += t._skipLinkHTML(ed); 243 242 244 // set buttons 243 245 if ( settings.buttons ) 244 246 use = ','+settings.buttons+','; … … 337 339 this._buttonsInit(); // add the button HTML to all instances toolbars if addButton() was called too late 338 340 }; 339 341 342 qt._skipLinkHTML = function(ed) { 343 return '<a style="width:1px;height:1px;overflow:hidden;position:absolute;left:-10000em;" ' + 344 'href="#qt_' + ed.id + '_toolbar" title="' + quicktagsL10n.skipToContent + '" ' + 345 'onclick="try{document.getElementById(\'' + ed.id + '\').focus();}catch(e){};return false;"> </a>'; 346 }; 347 340 348 qt.insertContent = function(content) { 341 349 var sel, startPos, endPos, scrollTop, text, canvas = document.getElementById(wpActiveEditor); 342 350 -
wp-includes/script-loader.php
81 81 'fullscreen' => __('fullscreen'), 82 82 'toggleFullscreen' => esc_attr( __('Toggle fullscreen mode') ), 83 83 'textdirection' => esc_attr( __('text direction') ), 84 'toggleTextdirection' => esc_attr( __('Toggle Editor Text Direction') ) 84 'toggleTextdirection' => esc_attr( __('Toggle Editor Text Direction') ), 85 'skipToContent' => esc_attr( __('Skip to content') ) 85 86 ) ); 86 87 87 88 $scripts->add( 'colorpicker', "/wp-includes/js/colorpicker$suffix.js", array('prototype'), '3517m' );