We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de3fa00 commit e1bd3d8Copy full SHA for e1bd3d8
packages/vue-mention/src/Mentionable.vue
@@ -261,7 +261,7 @@ export default defineComponent({
261
if (index >= 0) {
262
const { key, keyIndex } = getLastKeyBeforeCaret(index)
263
const text = lastSearchText = getLastSearchText(index, keyIndex)
264
- // Makes sure that key is not first character in editable element and
+ // Makes sure that key is not first character in editable element and
265
// that there is a space before the key. Returns false if these conditions are
266
// not met
267
if (!(keyIndex < 1 || /\s/.test(getValue()[keyIndex - 1]))) {
0 commit comments