Explorar el Código

Allowed to use text inside root in test.

Oskar Wrobel hace 9 años
padre
commit
bd10955b72
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      packages/ckeditor5-enter/tests/entercommand.js

+ 1 - 0
packages/ckeditor5-enter/tests/entercommand.js

@@ -25,6 +25,7 @@ beforeEach( () => {
 			schema.registerItem( 'img', '$inline' );
 			schema.registerItem( 'p', '$block' );
 			schema.registerItem( 'h', '$block' );
+			schema.allow( { name: '$text', inside: '$root' } );
 		} );
 } );