Browse Source

Remove redundant code.

Maciej Gołaszewski 5 years ago
parent
commit
af43d7ca47
1 changed files with 3 additions and 6 deletions
  1. 3 6
      packages/ckeditor5-table/src/tableselection.js

+ 3 - 6
packages/ckeditor5-table/src/tableselection.js

@@ -7,12 +7,11 @@
  * @module table/tableselection
  */
 
-import TableWalker from './tablewalker';
-import { findAncestor } from './commands/utils';
-import mix from '@ckeditor/ckeditor5-utils/src/mix';
-import ObservableMixin from '@ckeditor/ckeditor5-utils/src/observablemixin';
 import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
+
 import MouseSelectionObserver from './tableselection/mouseselectionobserver';
+import TableWalker from './tablewalker';
+import { findAncestor } from './commands/utils';
 
 export default class TableSelection extends Plugin {
 	constructor( editor ) {
@@ -231,5 +230,3 @@ function getTableCell( domEventData, editor ) {
 
 	return findAncestor( 'tableCell', editor.model.createPositionAt( modelElement, 0 ) );
 }
-
-mix( TableSelection, ObservableMixin );