MentionNode: use 'segmented' to fix Android problems
This commit is contained in:
parent
e88b952a6f
commit
ab22422aa7
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class MentionNode extends TextNode {
|
||||||
|
|
||||||
function $createMentionNode(text: string): MentionNode {
|
function $createMentionNode(text: string): MentionNode {
|
||||||
const node = new MentionNode(text);
|
const node = new MentionNode(text);
|
||||||
node.setMode('token').toggleDirectionless();
|
node.setMode('segmented').toggleDirectionless();
|
||||||
return $applyNodeReplacement(node);
|
return $applyNodeReplacement(node);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue