8
0
فهرست منبع

Merge pull request #32 from ckeditor/t/ckeditor5/401

Tests: Adjustments to changes in `getData()`.
Piotrek Koszuliński 7 سال پیش
والد
کامیت
4632f7c60c
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/ckeditor5-block-quote/tests/blockquoteediting.js

+ 1 - 1
packages/ckeditor5-block-quote/tests/blockquoteediting.js

@@ -95,7 +95,7 @@ describe( 'BlockQuoteEditing', () => {
 			writer.remove( writer.createRangeIn( bq ) );
 		} );
 
-		expect( editor.getData() ).to.equal( '<p>&nbsp;</p>' ); // Autoparagraphed.
+		expect( editor.getData( { trim: 'none' } ) ).to.equal( '<p>&nbsp;</p>' ); // Autoparagraphed.
 	} );
 
 	it( 'should unwrap a blockQuote if it was inserted into another blockQuote', () => {