mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Select 1,1 by default on load of demo/sandbox
This commit is contained in:
parent
ef87d55317
commit
9c08361de9
|
@ -421,6 +421,7 @@ $(document).ready( function() {
|
|||
window.surfaceModel = new es.SurfaceModel( window.doc );
|
||||
window.surfaceView = new es.SurfaceView( $( '#es-editor' ), window.surfaceModel );
|
||||
window.toolbarView = new es.ToolbarView( $( '#es-toolbar' ), window.surfaceView );
|
||||
window.surfaceModel.select( new es.Range( 1, 1 ) );
|
||||
|
||||
/*
|
||||
var tools = {
|
||||
|
|
Loading…
Reference in a new issue