AutosuggestPlugin: don't autosuggest hashtags for now

https://gitlab.com/soapbox-pub/soapbox/-/issues/1527
environments/review-emoji-node-jkqetp/deployments/4054
Alex Gleason 2023-09-25 16:06:09 -05:00
rodzic 4b5602a086
commit f3783f1a50
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 0 dodań i 5 usunięć

Wyświetl plik

@ -342,11 +342,6 @@ const AutosuggestPlugin = ({
if (!node) return null;
if (['hashtag'].includes(node.getType())) {
const matchingString = node.getTextContent();
return { leadOffset: 0, matchingString };
}
if (node.getType() === 'text') {
const [leadOffset, matchingString] = textAtCursorMatchesToken(
node.getTextContent(),