I’m interested in using the typeahead plugin for cases where suggestions may contain spaces, such as mentioning users by full name (e.g., @firstname lastname). Currently, the typeahead seems to match only single “words” without spaces after the trigger.
Would it be possible to add support for typeahead suggestions where the search term contains spaces? For example, typing @first l would offer @First Last as a match and allow inserting the full name including the space.
This would be really useful for cases like user mentions, tags with spaces, or other multi-word entries.
This could possibly be supported by allowing the users to configure the allowed (or ignored) escape characters or a trigger regex string.
I’m interested in using the typeahead plugin for cases where suggestions may contain spaces, such as mentioning users by full name (e.g.,
@firstname lastname). Currently, the typeahead seems to match only single “words” without spaces after the trigger.Would it be possible to add support for typeahead suggestions where the search term contains spaces? For example, typing
@first lwould offer@First Lastas a match and allow inserting the full name including the space.This would be really useful for cases like user mentions, tags with spaces, or other multi-word entries.
This could possibly be supported by allowing the users to configure the allowed (or ignored) escape characters or a trigger regex string.