|
|
@@ -426,7 +426,7 @@ describe( 'Bug ckeditor5-typing#100', () => {
|
|
|
|
|
|
const paragraph = viewRoot.getChild( 0 );
|
|
|
const strong = paragraph.getChild( 0 );
|
|
|
- const viewSelection = new ViewSelection( paragraph );
|
|
|
+ const viewSelection = new ViewSelection( paragraph, 0 );
|
|
|
|
|
|
// Simulate mutations and DOM change.
|
|
|
domRoot.childNodes[ 0 ].innerHTML = '<strong>Foo bar </strong><b>apple</b>';
|