|
|
@@ -131,8 +131,6 @@ describe( 'EditingController', () => {
|
|
|
} );
|
|
|
|
|
|
beforeEach( () => {
|
|
|
- document.getElementById( 'focusPlaceholder' ).focus();
|
|
|
-
|
|
|
model.selection.removeAllRanges();
|
|
|
modelRoot.removeChildren( 0, modelRoot.getChildCount() );
|
|
|
|
|
|
@@ -192,6 +190,8 @@ describe( 'EditingController', () => {
|
|
|
} );
|
|
|
} );
|
|
|
|
|
|
+ editing.view.focusedEditable = viewRoot;
|
|
|
+
|
|
|
const domSelection = document.getSelection();
|
|
|
domSelection.removeAllRanges();
|
|
|
const domBar = domRoot.childNodes[ 2 ].childNodes[ 0 ];
|