Procházet zdrojové kódy

Fix is() check in "modelToViewPosition" event docs.

Maciej Gołaszewski před 5 roky
rodič
revize
fa109ad302

+ 1 - 1
packages/ckeditor5-engine/src/conversion/mapper.js

@@ -631,7 +631,7 @@ export default class Mapper {
 	 *			const sibling = data.modelPosition.nodeBefore;
 	 *
 	 *			// Check if this is the element we are interested in.
-	 *			if ( !sibling.is( 'customElement' ) ) {
+	 *			if ( !sibling.is( 'element', 'customElement' ) ) {
 	 *				return;
 	 *			}
 	 *