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); }