浏览代码

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

Oskar Wróbel 7 年之前
父节点
当前提交
a786f99696
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
 	}