Oskar Wróbel 8 anos atrás
pai
commit
197125b6f4
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      packages/ckeditor5-engine/src/model/schema.js

+ 1 - 1
packages/ckeditor5-engine/src/model/schema.js

@@ -1174,7 +1174,7 @@ export class SchemaContext {
 	 * 		const ctx3 = ctx.concat( 'other' ); // [ 'elementParent', 'element', 'other' ]
 	 * 		const ctx3 = ctx.concat( 'other' ); // [ 'elementParent', 'element', 'other' ]
 	 *
 	 *
 	 * 		// Array with above.
 	 * 		// Array with above.
-	 * 		const ctx3 = ctx.concat( [ 'other', element.getChild( 0 ) ] ); // [ 'elementParent', 'element', 'other', 'elementChild ]
+	 * 		const ctx4 = ctx.concat( [ 'other', element.getChild( 0 ) ] ); // [ 'elementParent', 'element', 'other', 'elementChild ]
 	 *
 	 *
 	 * @param {String|module:engine/model/node~Node|Array<String|module:engine/model/node~Node>} definition
 	 * @param {String|module:engine/model/node~Node|Array<String|module:engine/model/node~Node>} definition
 	 * Definition of item(s) that will be added to current context.
 	 * Definition of item(s) that will be added to current context.