@worktile/theia 14.1.0 → 14.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8581,7 +8581,9 @@ const MentionEditor = {
|
|
|
8581
8581
|
const currentMention = mentions.find(m => m?.type === type);
|
|
8582
8582
|
Transforms.insertText(editor, currentMention.trigger);
|
|
8583
8583
|
setTimeout(() => {
|
|
8584
|
-
|
|
8584
|
+
THE_EDITOR_ORIGIN_ANCHOR.set(editor, Editor.before(editor, editor.selection.anchor));
|
|
8585
|
+
const textElement = AngularEditor.toDOMNode(editor, anchorBlockEntry(editor)[0]);
|
|
8586
|
+
MentionEditor.openSelectOverlay(editor, type, textElement);
|
|
8585
8587
|
});
|
|
8586
8588
|
},
|
|
8587
8589
|
deleteTriggerText(editor) {
|