code

Last modified by Lucas Charpentier on 2026/09/18 14:28

Doc:  https://extensions.xwiki.org/xwiki/bin/view/Extension/Code%20Macro/

Parameters:

  • language
  • layout
  • source
  • (Box Macro parameters)

Quick action? ✅

Open the dialog with:  Automatically on macro creation

Error

There is no mandatory parameter. Automatic opening is usually reserved for macros with a mandatory param. This inconsistency looks arbitrary and is difficult to understand. I would have expected the macro to be created and have to double click its body before accessing parameters.

Just inserted screenshot:  

Nothing is inserted in the content at first. When leaving the form empty, an empty code block is created, as expected

1739274501799-466.png

1739274618462-245.png

Default dialog screenshot: See above

Extended dialog screenshot:

1739274603093-723.png

JIRA issues

Query used to look for existing issues:

Issues that already existed:

Issues created by this analysis:

None

Get Connected