Make WordPress Core

Ticket #29485: 29485.2.diff

File 29485.2.diff, 515 bytes (added by nacin, 11 years ago)

Pretty sure this is all that is needed.

  • src/wp-admin/js/editor-expand.js

     
    195195                                return;
    196196                        }
    197197
     198                        // Bail on pageup/pagedown/home/end.
     199                        if ( key >= 33 && key <= 36 ) {
     200                                return;
     201                        }
     202
    198203                        cursorTop = offset.top + editor.iframeElement.getBoundingClientRect().top;
    199204                        cursorBottom = cursorTop + offset.height;
    200205                        cursorTop = cursorTop - buffer;