Kamil Piechaczek пре 8 година
родитељ
комит
e06fc819a3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/ckeditor5-engine/src/model/schema.js

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

@@ -592,7 +592,7 @@ export default class Schema {
 				// because the root element is on the top of the tree and it's the common ancestor for all selection's ranges.
 				if ( element.is( 'rootElement' ) ) {
 					return element;
-				} else if  ( rangeCommonAncestor.is( 'rootElement' ) ) {
+				} else if ( rangeCommonAncestor.is( 'rootElement' ) ) {
 					return rangeCommonAncestor;
 				}