xwikisas / xwiki-pro-macros

XWiki rendering macros useful when migrating content from Confluence
GNU Lesser General Public License v2.1
3 stars 12 forks source link

Use the first title or child panel's title as the default title of Expand #301

Closed raphj closed 2 months ago

raphj commented 3 months ago

It is common in Confluence to put a panel inside expand. In this case, the title of the panel is used as the text of the expand and that's what users expect when they migrate from Confluence.

It's a nice and useful touch that we can and should borrow.

We can also use a regular title as the source of default expand title too.