This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-d932f551-c78c-4973-af5c-cd49186a522b XWIKI-24231 Open

Expose the insert macro action

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-9fa90a20-cdfa-4525-bab0-b7baf021a4ae Marius Dumitru Florea created this issue on 15/Apr/26 18:17
 
Summary: Expose the insert macro action
Issue Type: cid:jira-generated-image-avatar-d932f551-c78c-4973-af5c-cd49186a522b New Feature
Affects Versions: 18.2.1
Assignee: Unassigned
Components: BlockNote
Created: 15/Apr/26 18:17
Priority: cid:jira-generated-image-static-major-99952b7d-8f57-477c-833c-2a33212a9ea8 Major
Reporter: Marius Dumitru Florea
Description:

With XWIKI-24048 we can now edit existing macro calls but BlockNote doesn't provide a way to insert a new macro call. XWIKI-23863 is going to provide quick actions for inserting specific macros but until then, and maybe even after that, we need a way to open the Select Macro modal. Even if we add quick actions for specific macros, we might not want to expose deprecated or technical macros as quick actions so having a way to insert them for edge cases is still important.

The insert macro action could be exposed:

  • on the context toolbar, when some text is selected (e.g. to make the selected text an information box)
  • on the quick actions dropdown