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.

The link modal, with the Page link type selected and the Options group expanded
| Field | Link type | Description |
|---|---|---|
| Display text | All | The label shown in place of the link. Generated from the target when left empty. |
| Link type | All | The kind of target: "URL", "Page", "Attachment" or "E-mail". |
| URL | URL | The address to link to. |
| Page reference | Page | The reference of the target Page, picked from the suggestions. |
| Attachment reference | Attachment | The reference of the target Attachment, picked from the suggestions. |
| E-mail address | The 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.