浏览代码

Update src/ui/mentionsview.js

Co-Authored-By: jodator <jodator@gmail.com>
Aleksander Nowodzinski 6 年之前
父节点
当前提交
69da75ce92
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-mention/src/ui/mentionsview.js

+ 1 - 1
packages/ckeditor5-mention/src/ui/mentionsview.js

@@ -81,7 +81,7 @@ export default class MentionsView extends View {
 	 * Marks item at a given index as selected.
 	 *
 	 * Handles selection cycling when passed index is out of bounds:
-	 * - if index is lover then 0 it will select last item
+	 * - if the index is lower than 0, it will select the last item,
 	 * - if index is higher then last item index it will select the first item.
 	 *
 	 * @param {Number} index Index of item to mark as selected.