AutosuggestPlugin: don't autosuggest hashtags for now
https://gitlab.com/soapbox-pub/soapbox/-/issues/1527
This commit is contained in:
@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user