mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Support select all (ctrl/metakey + a) on mac
This commit is contained in:
parent
7c9140d4b4
commit
77486cf8f2
|
@ -427,7 +427,7 @@ es.SurfaceView.prototype.onKeyDown = function( e ) {
|
|||
|
||||
// a (select all)
|
||||
case 65:
|
||||
if ( e.ctrlKey ) {
|
||||
if ( e.metaKey || e.ctrlKey ) {
|
||||
this.model.select( new es.Range(
|
||||
this.model.getDocument().getRelativeContentOffset( 0, 1 ),
|
||||
this.model.getDocument().getRelativeContentOffset(
|
||||
|
|
Loading…
Reference in a new issue