Insert a Macro with the BlockNote Editor

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

Steps

To insert a Macro with the BlockNote editor:

XWiki 18.6.0+ The Macro button of the formatting toolbar, the Macro selector modal and the Macro edit modal were added.

  1. Type /macro and select "Macro" in the "slash menu".

    slash-menu-macro.png

    Alternatively, select some text and click the Macro button of the formatting toolbar. The selection only serves to make the toolbar appear: it is replaced by the Macro, not wrapped in it.

    insert-macro-toolbar.png

  2. Filter the list of Macros, select the one to insert, and confirm the selection.

    macro-selector-modal.png

  3. Fill in the Macro content and the Macro parameters, then submit the Macro edit modal.

    macro-edit-modal.png

FAQ

How do I change a Macro I already inserted?

Select the Macro with a single click, then click the edit button of the formatting toolbar to reopen the Macro edit modal.

Related

Get Connected