Ticket #29485: 29485.diff
File 29485.diff, 656 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/js/editor-expand.js
195 195 return; 196 196 } 197 197 198 // Bail on special keys. 199 if ( key <= 47 && ! ( key === VK.SPACEBAR || key === VK.ENTER || key === VK.DELETE || key === VK.BACKSPACE || key === VK.UP || key === VK.LEFT || key === VK.DOWN || key === VK.UP ) ) { 200 return; 201 } 202 198 203 cursorTop = offset.top + editor.iframeElement.getBoundingClientRect().top; 199 204 cursorBottom = cursorTop + offset.height; 200 205 cursorTop = cursorTop - buffer;