BlockNote Link Options

Last modified by Vincent Massol on 2026/07/28 22:15

Reference

XWiki 18.7.0+ The link modal of the BlockNote editor offers the following fields. Which of them are shown depends on the selected link type.

link-modal.png
The link modal, with the Page link type selected and the Options group expanded

FieldLink typeDescription
Display textAllThe label shown in place of the link. Generated from the target when left empty.
Link typeAllThe kind of target: "URL", "Page", "Attachment" or "E-mail".
URLURLThe address to link to.
Page referencePageThe reference of the target Page, picked from the suggestions.
Attachment referenceAttachmentThe reference of the target Attachment, picked from the suggestions.
E-mail addressE-mailThe address to send the message to.

The "Options" group offers "Open in a new tab", and, for the "Page" link type, a "Query string" field holding parameters appended to the target address and an "Anchor" field holding the identifier of a section of the target Page.

FAQ

What happens if I change the link type of an existing link?

The fields of the previous type are replaced by those of the new type, and the link points at the new target once you submit the modal.

Related

Get Connected