Răsfoiți Sursa

Update src/ui/mentionsview.js

Co-Authored-By: jodator <jodator@gmail.com>
Aleksander Nowodzinski 6 ani în urmă
părinte
comite
69da75ce92
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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.