瀏覽代碼

Update src/utils/getlasttextline.js

Co-Authored-By: Szymon Cofalik <s.cofalik@cksource.com>
Maciej 6 年之前
父節點
當前提交
15ae27739c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-typing/src/utils/getlasttextline.js

+ 1 - 1
packages/ckeditor5-typing/src/utils/getlasttextline.js

@@ -10,7 +10,7 @@
 /**
  * Returns the last text line from the given range.
  *
- * A text "line" is understood to be a text limited either by a parent block or by inline elements (e.g. `<softBreak>`).
+ * "The last text line" is understood as text (from one or more text nodes) which is limited either by a parent block or by inline elements (e.g. `<softBreak>`).
  *
  * @protected
  * @param {module:engine/model/range~Range} range