Преглед изворни кода

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

Maciej Gołaszewski пре 5 година
родитељ
комит
fa109ad302
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/ckeditor5-engine/src/conversion/mapper.js

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