mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-25 16:17:34 +00:00
emoji autocomplete not trigger with just colons
This commit is contained in:
1 parent
de77de84d9
commit
1984143c82
1 file changed
+1
-1
@@ -13,7 +13,7 @@ const emojis = {
|
||||
};
|
||||
|
||||
const emojiCompletionList = (context)=>{
|
||||
const word = context.matchBefore(/:[^\s:]*/);
|
||||
const word = context.matchBefore(/:[^\s:]+/);
|
||||
if(!word) return null;
|
||||
|
||||
const line = context.state.doc.lineAt(context.pos);
|
||||
|
||||
Reference in new issue
Block a user