Details
-
Bug
-
Resolution: Fixed
-
Major
-
18.7.0
-
None
-
Unit, Integration
-
Unknown
-
Description
Steps to reproduce
- Edit a page with the BlockNote editor.
- Select a word, then click the link button of the formatting toolbar (or type /link in an empty paragraph).
- 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.
- 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.
Attachments
Issue Links
- relates to
-
XWIKI-24269 Improvements for the link insertion dialog
-
- Closed
-