WordPress.org

Make WordPress Core

Changeset 36974


Ignore:
Timestamp:
03/12/2016 07:41:00 PM (4 years ago)
Author:
azaozz
Message:

TinyMCE, inline link: when searching, do not empty the URL input field when using the arrow keys to highlight items.

Props afercia.
See #33301.

Location:
trunk/src/wp-includes/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/tinymce/plugins/wplink/plugin.js

    r36806 r36974  
    349349                        focus: function( event, ui ) {
    350350                            $input.attr( 'aria-activedescendant', 'mce-wp-autocomplete-' + ui.item.ID );
     351                            event.preventDefault();
    351352                        },
    352353                        select: function( event, ui ) {
  • trunk/src/wp-includes/js/wplink.js

    r36806 r36974  
    7777                focus: function( event, ui ) {
    7878                    $input.attr( 'aria-activedescendant', 'mce-wp-autocomplete-' + ui.item.ID );
     79                    event.preventDefault();
    7980                },
    8081                select: function( event, ui ) {
Note: See TracChangeset for help on using the changeset viewer.