a tool for shared writing and social publishing
0

Configure Feed

Select the types of activity you want to include in your feed.

fix opening at mentions

Jared Pereira (Apr 1, 2026, 3:11 PM -0700) 14d5617b 74817bfc

+6 -2
+6 -2
components/Blocks/TextBlock/mountProsemirror.ts
··· 138 138 139 139 // Check for atMention inline nodes 140 140 if (node?.type === schema.nodes.atMention) { 141 - const url = atUriToUrl(node.attrs.atURI); 142 - window.open(url, "_blank", "noopener,noreferrer"); 141 + if (node.attrs.href) 142 + window.open(node.attrs.href, "_blank", "noopener,noreferrer"); 143 + else { 144 + const url = atUriToUrl(node.attrs.atURI); 145 + window.open(url, "_blank", "noopener,noreferrer"); 146 + } 143 147 return; 144 148 } 145 149 if (node.nodeSize - 2 <= _pos) return;