Explorar o código

Internal: Used SchemaContext#push instead of dropped SchemaContext#concat.

Oskar Wróbel %!s(int64=8) %!d(string=hai) anos
pai
achega
a786f99696
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/ckeditor5-paragraph/src/paragraph.js

+ 1 - 1
packages/ckeditor5-paragraph/src/paragraph.js

@@ -211,7 +211,7 @@ function isParagraphable( node, position, schema ) {
 	}
 
 	// And a node would be allowed in this paragraph...
-	if ( !schema.checkChild( context.concat( 'paragraph' ), node ) ) {
+	if ( !schema.checkChild( context.push( 'paragraph' ), node ) ) {
 		return false;
 	}