MentionNode: use 'segmented' to fix Android problems

This commit is contained in:
Alex Gleason 2023-09-25 15:12:43 -05:00
parent e88b952a6f
commit ab22422aa7
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -62,7 +62,7 @@ class MentionNode extends TextNode {
function $createMentionNode(text: string): MentionNode {
const node = new MentionNode(text);
node.setMode('token').toggleDirectionless();
node.setMode('segmented').toggleDirectionless();
return $applyNodeReplacement(node);
}