瀏覽代碼

Temporally remove selection stop on mouseleave.

Maciej Gołaszewski 5 年之前
父節點
當前提交
ed3a1e6fe9
共有 1 個文件被更改,包括 7 次插入7 次删除
  1. 7 7
      packages/ckeditor5-table/src/tableselection/mouseselectionhandler.js

+ 7 - 7
packages/ckeditor5-table/src/tableselection/mouseselectionhandler.js

@@ -86,9 +86,9 @@ export default class MouseSelectionHandler {
 	 * @private
 	 */
 	_handleMouseMove( domEventData ) {
-		if ( !this._tableSelection.isSelecting ) {
-			return;
-		}
+		// if ( !this._tableSelection.isSelecting ) {
+		// 	return;
+		// }
 
 		const tableCell = this._getModelTableCellFromDomEvent( domEventData );
 
@@ -126,11 +126,11 @@ export default class MouseSelectionHandler {
 	 * @private
 	 */
 	_handleMouseLeave() {
-		if ( !this._tableSelection.isSelecting ) {
-			return;
-		}
+		// if ( !this._tableSelection.isSelecting ) {
+		// 	return;
+		// }
 
-		this._tableSelection.stopSelection();
+		// this._tableSelection.stopSelection();
 	}
 
 	/**