Jelajahi Sumber

Doc string wording.

Piotrek Koszuliński 6 tahun lalu
induk
melakukan
44a38a8ed9
1 mengubah file dengan 1 tambahan dan 3 penghapusan
  1. 1 3
      packages/ckeditor5-word-count/src/utils.js

+ 1 - 3
packages/ckeditor5-word-count/src/utils.js

@@ -8,9 +8,7 @@
  */
  */
 
 
 /**
 /**
- * Returns plain text representation of an element and it's children. The blocks are separated by a newline (\n ).
- *
- * **Note:** Function walks through the entire model, which might be very spread. There should be considered throttling it during usage.
+ * Returns a plain text representation of an element and its children.
  *
  *
  * @param {module:engine/model/element~Element} element
  * @param {module:engine/model/element~Element} element
  * @returns {String} Plain text representing model's data
  * @returns {String} Plain text representing model's data