Parcourir la source

Merge branch 'master' into t/48

Krzysztof Krztoń il y a 9 ans
Parent
commit
c4172d6c3d
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      packages/ckeditor5-typing/tests/deletecommand-integration.js

+ 2 - 0
packages/ckeditor5-typing/tests/deletecommand-integration.js

@@ -30,6 +30,8 @@ describe( 'DeleteCommand integration', () => {
 				doc.schema.registerItem( 'p', '$block' );
 				doc.schema.registerItem( 'img', '$inline' );
 				doc.schema.allow( { name: '$text', inside: 'img' } );
+
+				doc.schema.objects.add( 'img' );
 			} );
 	} );