diff --git a/shared/editor/nodes/Mention.ts b/shared/editor/nodes/Mention.ts index 0b08506484..137a970712 100644 --- a/shared/editor/nodes/Mention.ts +++ b/shared/editor/nodes/Mention.ts @@ -67,6 +67,7 @@ export default class Mention extends Suggestion { "data-type": node.attrs.type, "data-id": node.attrs.modelId, "data-actorId": node.attrs.actorId, + "data-url": `mention://${node.attrs.id}/${node.attrs.type}/${node.attrs.modelId}`, }, node.attrs.label, ],