8
0
Эх сурвалжийг харах

Internal: Change API usage after merge t/1263 in ckeditor5-engine.

Piotr Jasiun 8 жил өмнө
parent
commit
5f909ceb81

+ 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;
 	}