8
0
Kamil Piechaczek 6 лет назад
Родитель
Сommit
1efb98d2b3

+ 0 - 2
packages/ckeditor5-engine/src/dev-utils/view.js

@@ -471,9 +471,7 @@ class RangeParser {
 			}
 
 			text = text.replace( regexp, '' );
-
 			node._data = text;
-
 			const index = node.index;
 			const parent = node.parent;
 

+ 1 - 1
packages/ckeditor5-engine/tests/view/placeholder.js

@@ -83,7 +83,7 @@ describe( 'placeholder', () => {
 			expect( element.hasClass( 'ck-placeholder' ) ).to.be.true;
 		} );
 
-		it.only( 'if element has selection inside set only data attribute', () => {
+		it( 'if element has selection inside set only data attribute', () => {
 			setData( view, '<div>[]</div><div>another div</div>' );
 			const element = viewRoot.getChild( 0 );