Răsfoiți Sursa

Docs: small change.

Szymon Cofalik 6 ani în urmă
părinte
comite
32b7ab670f
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      packages/ckeditor5-engine/src/view/treewalker.js

+ 2 - 2
packages/ckeditor5-engine/src/view/treewalker.js

@@ -240,7 +240,7 @@ export default class TreeWalker {
 				let charactersCount = node.data.length;
 				let item;
 
-				// If text stick out of walker range, we need to cut it and wrap by TextProxy.
+				// If text stick out of walker range, we need to cut it and wrap in TextProxy.
 				if ( node == this._boundaryEndParent ) {
 					charactersCount = this.boundaries.end.offset;
 					item = new TextProxy( node, 0, charactersCount );
@@ -352,7 +352,7 @@ export default class TreeWalker {
 				let charactersCount = node.data.length;
 				let item;
 
-				// If text stick out of walker range, we need to cut it and wrap by TextProxy.
+				// If text stick out of walker range, we need to cut it and wrap in TextProxy.
 				if ( node == this._boundaryStartParent ) {
 					const offset = this.boundaries.start.offset;