diff --git a/modules/ve/ce/ve.ce.Surface.js b/modules/ve/ce/ve.ce.Surface.js index 4fb4269d37..ca879ef59f 100644 --- a/modules/ve/ce/ve.ce.Surface.js +++ b/modules/ve/ce/ve.ce.Surface.js @@ -106,6 +106,9 @@ ve.ce.Surface.prototype.documentOnBlur = function() { this.$document.off( '.ve-ce-Surface' ); this.stopPolling(); + if ( this.contextView ) { + this.contextView.clear(); + } }; ve.ce.Surface.prototype.onMouseDown = function( e ) {