box

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

Doc:  https://extensions.xwiki.org/xwiki/bin/view/Extension/Box%20Macro#HDescription

Parameters:

  • cssClass InformationGeneric style only parameter
  • title
  • image
  • width InformationGeneric style only parameter
Warning

The height generic style parameter is not here. Maybe it doesn't make sense here, but it should probably be added for consistency.

Quick action? ✅

Open the dialog with:  Double click on the macro body

Error

Respecting consistency, this macro's content should be inline editable.

Just inserted screenshot:  

1739272715130-816.png

Default dialog screenshot:

1739272783971-656.png

Error

Even if the content is not mandatory, it's really important for this macro and should be displayed by default, not hidden in the `more` section.

Extended dialog screenshot:

1739272798664-340.png

Note that it's a very common use case to just fill up some content and ignore the other parameters. When the content is filled up, it gets up the order in the dialog, which makes things easier later on.  The default use case is really painful since there's at least 3 extra clicks that need to be done before being able to fill up content (compared to inline edition or having content as the first field).

JIRA issues

Query used to look for existing issues:

Issues that already existed:

 ?

Issues created by this analysis:

None

Get Connected