This issue has been created
There is 1 update.
 
 
Cristal / cid:jira-generated-image-avatar-b52ebb7e-cb08-4ca6-be7e-471c42b4df20 CRISTAL-537 Open

Internal and external links are not distinguished

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-6e0f54cc-a161-49a4-831f-9d1977fc86dc Manuel Leduc created this issue on 23/May/25 14:49
 
Summary: Internal and external links are not distinguished
Issue Type: cid:jira-generated-image-avatar-b52ebb7e-cb08-4ca6-be7e-471c42b4df20 Bug
Affects Versions: 0.17
Assignee: Unassigned
Components: Editor - Blocknote, View
Created: 23/May/25 14:49
Priority: cid:jira-generated-image-static-blocker-05d3717f-0e0c-48b5-9c07-f3cad58f907c Blocker
Reporter: Manuel Leduc
Description:

Reproduction steps

  1. edit a page with blocknote
  2. add twi links one internal, one external
  3. observe if there is a visual clue for the external link
  4. save
  5. # observe if there is a visual clue for the external link in view mode

Expected

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

Actual

In the 3 and 5 the visual clue is missing

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).

<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>
 
 

1 update

 
cid:jira-generated-image-avatar-6e0f54cc-a161-49a4-831f-9d1977fc86dc Changes by Manuel Leduc on 23/May/25 14:49
 
Priority: Blocker Major