Changeset 31714
- Timestamp:
- 03/11/2015 03:00:15 AM (10 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r31713 r31714 1450 1450 <p class="howto"><?php _e( 'Enter the destination URL' ); ?></p> 1451 1451 <div class="wp-link-text-field"> 1452 <label><span><?php _e( ' Text' ); ?></span><input id="wp-link-text" type="text" /></label>1452 <label><span><?php _e( 'Link text' ); ?></span><input id="wp-link-text" type="text" /></label> 1453 1453 </div> 1454 1454 <div> -
trunk/src/wp-includes/js/tinymce/plugins/wplink/plugin.js
r31713 r31714 6 6 7 7 // WP default shortcut 8 editor.addShortcut( ' alt+shift+a', '', 'WP_Link' );8 editor.addShortcut( 'Alt+Shift+A', '', 'WP_Link' ); 9 9 // The "de-facto standard" shortcut, see #27305 10 editor.addShortcut( ' ctrl+k', '', 'WP_Link' );10 editor.addShortcut( 'Meta+K', '', 'WP_Link' ); 11 11 12 12 editor.addButton( 'link', { 13 13 icon: 'link', 14 14 tooltip: 'Insert/edit link', 15 shortcut: 'Alt+Shift+A',16 15 cmd: 'WP_Link', 17 16 stateSelector: 'a[href]' … … 27 26 icon: 'link', 28 27 text: 'Insert link', 29 shortcut: 'Alt+Shift+A',30 28 cmd: 'WP_Link', 31 29 stateSelector: 'a[href]', -
trunk/src/wp-includes/js/wplink.js
r31713 r31714 162 162 // If this is moved above the selection changes, 163 163 // IE will show a flashing cursor over the dialog. 164 if ( inputs.wrap.hasClass( 'has-text-field' ) ) { 165 inputs.text.focus(); 166 } else { 167 inputs.url.focus()[0].select(); 168 } 164 inputs.url.focus()[0].select(); 169 165 } 170 166
Note: See TracChangeset
for help on using the changeset viewer.