There is 1 update.
 
 
Cristal / cid:jira-generated-image-avatar-91b6b3f5-edb4-4eb5-9026-c04bb6e10f7d CRISTAL-537 Open

Internal and external links are not distinguished

 
View issue   ·   Add comment
 

1 update

 
cid:jira-generated-image-avatar-3af38eb8-50b8-42d0-a09a-ceaa01178802 Changes by Clément Eraud on 21/Jul/25 13:59
 
Description: h2. Reproduction steps
# edit a page with blocknote
# add two links: one internal, one external
# observe if there is a visual clue for the external link
# save
# observe if there is a visual clue for the external link in view mode

h2. Expected

In the 3 and 5, a visual clue indicates the external link
h2. Actual

In the 3 and 5 the visual clue is missing
h2. Status

Waiting for an answer on
[ https://github.com/TypeCellOS/BlockNote/issues/ 1118#issuecomment-2996720750 1861]
h2. Analysis

In edit mode, this is because it was never introduced in Blocknote.
In view mode, this is because the markdown render indicates only a class on internal link, while the css class {{wikiexternallink}} is expected on external link (the style already exists).
{code:html}
<p>
    <span class="wikilink"><a href="http://localhost:15680/xwiki/bin/view/Sandbox/TestPage2">internal link</a></span>
</p>
<p>
    <span class="wikiexternallink"><a href="https://mleduc.xyz">external link</a></span>
</p>
{code}