There are 3 updates, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-c7459b27-d733-4867-8101-f5d50e6095c2 XWIKI-25743 Closed

The link quick action should provide page and attachment suggestions

 
View issue   ยท   Add comment
 

3 updates

 
cid:jira-generated-image-avatar-ecfc6274-fee2-4942-99ba-30c19ce71613 Changes by Marius Dumitru Florea on 12/Nov/26 16:46
 
Resolution: Fixed
Tests: Unit,Integration
Status: Open Closed
 
 

1 comment

 
cid:jira-generated-image-avatar-ecfc6274-fee2-4942-99ba-30c19ce71613 Marius Dumitru Florea on 12/Nov/26 16:39
 

Implemented in the BlockNote editor:

  • Selecting "Link" from the slash menu now opens a link suggestion menu instead of the link modal. Typing [[ followed by some text opens the same menu.
  • The text typed filters the suggestions, shown in two groups: Pages and Attachments. Up to 8 are shown: 5 pages and 3 attachments when there are enough matches of both kinds, the slots that one kind can't fill going to the other (e.g. 6 pages and 2 attachments when only 2 attachments match).
  • Picking a page or an attachment inserts a link to it with a generated label (the page title, the attachment name), so the link is saved without a label and with a reference relative to the edited page, e.g. [[doc:Page]] or [[attach:Page@file.pdf]], like the links created with the link modal.
  • Upload file... uploads a file of any type as an attachment of the edited page and inserts a link to it, with a generated label.
  • Link to... opens the link modal, to link to anything else (an external URL, an email address...) or to set the link options.

Known limitation: the menu opens only when [[ is typed; pasting [[ followed by some text doesn't open it, like for the other typed triggers (/, image:).