This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-0b0b3a9e-ba96-4f2e-b5e1-edb2efd7498f XWIKI-25743 Open

The link quick action should provide page and attachment suggestions

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-6de4e430-61e5-4788-80de-b325f5d21690 Marius Dumitru Florea created this issue on 12/Nov/26 14:51
 
Summary: The link quick action should provide page and attachment suggestions
Issue Type: cid:jira-generated-image-avatar-0b0b3a9e-ba96-4f2e-b5e1-edb2efd7498f New Feature
Affects Versions: 18.9.0
Assignee: Unassigned
Components: BlockNote
Created: 12/Nov/26 14:51
Priority: cid:jira-generated-image-static-major-9793fc7c-8da4-4396-bca8-1bcf92eedfb7 Major
Reporter: Marius Dumitru Florea
Description:

The link quick action of the BlockNote editor (typing /link and selecting "Link") opens the link modal directly, so even the most common case, linking to an existing wiki page, takes several steps. The image quick action already offers inline suggestions (XWIKI-24241); the link quick action should do the same, like the CKEditor link quick action mapped to [ does.

Expected behavior

  • Selecting "Link" from the slash menu inserts [[, the start of a link in XWiki syntax, which opens the link suggestion menu. Typing [[ followed by some text opens the same menu.
  • The text typed after [[ filters the suggestions, shown in two groups: wiki pages, then attachments. Up to 8 suggestions are shown: 5 pages and 3 attachments when there are enough matches of both kinds, the slots left free by one group being filled by the other (e.g. 6 pages and 2 attachments when only 2 attachments match).
  • Selecting a page or an attachment inserts a link to it with a generated label (the page title, the attachment name), i.e. the link is saved without a label, e.g. [[doc:Space.Page]].
  • Two actions are always available at the top of the menu:
    • 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 (display text, anchor, query string).
 
 

2 updates

 
cid:jira-generated-image-avatar-6de4e430-61e5-4788-80de-b325f5d21690 Changes by Marius Dumitru Florea on 12/Nov/26 14:51
 
Fix Version: 18.10.0-rc-1
Assignee: Marius Dumitru Florea