Index: trunk/extensions/VisualEditor/modules/es/views/es.SurfaceView.js |
— | — | @@ -386,8 +386,9 @@ |
387 | 387 | var tx = this.documentView.model.prepareInsertion( this.selection.to, temp ); |
388 | 388 | this.documentView.model.commit( tx ); |
389 | 389 | |
390 | | - //this.selection.from = this.selection.to = this.documentView.getModel().getRelativeContentOffset( this.selection.to+1, 1 ); |
391 | | - //this.showCursor(); |
| 390 | + this.selection.from = this.selection.to = this.documentView.getModel().getRelativeContentOffset( this.selection.to, 1 ); |
| 391 | + this.showCursor(); |
| 392 | + e.preventDefault(); |
392 | 393 | } |
393 | 394 | break; |
394 | 395 | default: // Insert content (maybe) |