From ab22422aa7db2c27d323cadb169ac280e7aa6a5e Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 25 Sep 2023 15:12:43 -0500 Subject: [PATCH] MentionNode: use 'segmented' to fix Android problems --- src/features/compose/editor/nodes/mention-node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/compose/editor/nodes/mention-node.ts b/src/features/compose/editor/nodes/mention-node.ts index abc6909e6..343ea4af5 100644 --- a/src/features/compose/editor/nodes/mention-node.ts +++ b/src/features/compose/editor/nodes/mention-node.ts @@ -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); }