Dmitri Pisarev %!s(int64=7) %!d(string=hai) anos
pai
achega
4761b0943e
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      packages/ckeditor5-engine/tests/view/filler.js

+ 8 - 0
packages/ckeditor5-engine/tests/view/filler.js

@@ -111,6 +111,14 @@ describe( 'filler', () => {
 
 			expect( isInlineFiller( node ) ).to.be.false;
 		} );
+		
+		it( 'should be true for inline filler from inside iframe', () => {
+			const iframe = document.createElement('iframe');
+			document.body.appendChild(iframe);
+			const node = iframe.contentDocument.createTextNode( INLINE_FILLER );
+
+			expect( isInlineFiller( node ) ).to.be.true;
+		} );
 	} );
 
 	describe( 'isBlockFiller', () => {