Index: trunk/extensions/VisualEditor/modules/es/views/es.SurfaceView.js |
— | — | @@ -78,7 +78,7 @@ |
79 | 79 | // Respond to selection changes |
80 | 80 | _this.updateSelection(); |
81 | 81 | if ( selection.getLength() ) { |
82 | | - _this.$input.val('#COPY#').select(); |
| 82 | + _this.$input.val( _this.documentView.model.getContentText( selection ) ).select(); |
83 | 83 | _this.clearInsertionAnnotations(); |
84 | 84 | } else { |
85 | 85 | _this.$input.val('').select(); |