瀏覽代碼

Fixed docs.

Maciej Bukowski 8 年之前
父節點
當前提交
dc4e218de7
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      packages/ckeditor5-engine/src/model/selection.js
  2. 1 1
      packages/ckeditor5-engine/src/view/selection.js

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

@@ -621,7 +621,7 @@ export default class Selection {
 	}
 
 	/**
-	 * Creates and returns an instance of `Selection` that is created from the given ranges.
+	 * Creates and returns an instance of `Selection` from the given ranges.
 	 * Accepts a flag describing in which way the selection is made (see {@link #addRange addRange}).
 	 *
 	 * @param {Array.<module:engine/view/range~Range>} ranges Array of ranges to set.

+ 1 - 1
packages/ckeditor5-engine/src/view/selection.js

@@ -497,7 +497,7 @@ export default class Selection {
 	}
 
 	/**
-	 * Creates and returns an instance of `Selection` that is created from the given ranges.
+	 * Creates and returns an instance of `Selection` from the given ranges.
 	 * Accepts a flag describing in which way the selection is made (see {@link #addRange addRange}).
 	 *
 	 * @param {Array.<module:engine/view/range~Range>} ranges Array of ranges to set.