This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-cf543092-d6a4-401f-b5bf-1f397a18dfcf XWIKI-25741 Open

Can't create a link to the current page or to one of its sections from the BlockNote link modal

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-26197c6d-ed25-42e8-bb09-151edd39495b Marius Dumitru Florea created this issue on 12/Nov/26 13:01
 
Summary: Can't create a link to the current page or to one of its sections from the BlockNote link modal
Issue Type: cid:jira-generated-image-avatar-cf543092-d6a4-401f-b5bf-1f397a18dfcf Bug
Affects Versions: 18.7.0
Assignee: Unassigned
Components: BlockNote
Created: 12/Nov/26 13:01
Priority: cid:jira-generated-image-static-major-870ecb1a-a15c-4328-a2ab-0a9bfeb3523c Major
Reporter: Marius Dumitru Florea
Description:

Steps to reproduce

  1. Edit a page with the BlockNote editor.
  2. Select a word, then click the link button of the formatting toolbar (or type /link in an empty paragraph).
  3. Leave the link type to "Page" and the page reference empty, expand the "Options" section and set the anchor of a section of the current page, e.g. HSection.
  4. Submit the link modal.

Actual result

Nothing happens: no link is created. When a display text is typed, a link is created, but it's not saved as a link to the current page.

Expected result

A link to the section of the current page is created, and saved with an empty reference, as XWiki Rendering supports it: [[label>>||anchor="HSection"]]. Likewise, a link with an empty page reference and no anchor nor query string should link to the current page: [[label>>]]. Editing such a link should keep its page reference empty.

 
 

2 updates

 
cid:jira-generated-image-avatar-26197c6d-ed25-42e8-bb09-151edd39495b Changes by Marius Dumitru Florea on 12/Nov/26 13:01
 
Fix Version: 18.10.0-rc-1
Assignee: Marius Dumitru Florea