Skip to content

Commit 5bfbe4b

Browse files
committed
Turn off spaces in mentions for now, it doesnt work well enough
1 parent a35e371 commit 5bfbe4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/HyloEditor/extensions/PeopleMentions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const PeopleMentions = ({ groupIds, maxSuggestions, onSelection, suggesti
4040
},
4141
suggestion: {
4242
char: '@',
43-
allowSpaces: true,
43+
allowSpaces: false,
4444
pluginKey: new PluginKey('mentionSuggestion'),
4545
render: () => suggestions.render(suggestionsThemeName),
4646
items: asyncDebounce(200, async ({ query, editor }) => {

0 commit comments

Comments
 (0)