Select 1,1 by default on load of demo/sandbox

This commit is contained in:
Trevor Parscal 2011-12-01 23:06:29 +00:00
parent ef87d55317
commit 9c08361de9

View file

@ -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 = {