Explorar el Código

Tests: fixed incorrect schema definition.

Piotrek Koszuliński hace 9 años
padre
commit
79c5eafa87
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      packages/ckeditor5-list/tests/listcommand.js

+ 1 - 0
packages/ckeditor5-list/tests/listcommand.js

@@ -27,6 +27,7 @@ describe( 'ListCommand', () => {
 		doc.schema.registerItem( 'widget', '$block' );
 
 		doc.schema.allow( { name: '$block', inside: '$root' } );
+		doc.schema.allow( { name: 'paragraph', inside: 'widget' } );
 		doc.schema.allow( { name: 'listItem', attributes: [ 'type', 'indent' ], inside: '$root' } );
 		doc.schema.disallow( { name: 'listItem', attributes: [ 'type', 'indent' ], inside: 'widget' } );