Inline editing inside macro does not work

Hello,

We have installed the XWiki Debian 17.1.0.
It seems the inline editing in WYSIWYG mode is unavailable in macros.
For example, I add a Container macro into a page with some text, but I cannot edit the text inline. It is possible only in Source or in Macro editing mode.

Please advice how to resolve that.

Hello @Boris,

I did some tests on XWiki 17.1.0 and:

  • macros such warning or error support inline editing of their content in WYSIWYG
  • the container macro does not

What I’m wondering is, did the container macro support inline editing in older versions of XWiki?

I don’t think it ever was the case. But it does feel like the kind of macro which could benefit from it (but that would technically be a new feature).

What’s missing from xwiki-platform/xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-container/src/main/java/org/xwiki/rendering/internal/macro/container/ContainerMacro.java at master · xwiki/xwiki-platform · GitHub compared to xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-message/src/main/java/org/xwiki/rendering/internal/macro/message/AbstractMessageMacro.java at master · xwiki/xwiki-rendering · GitHub is the wrapping of the content in a MetaData block to mark the non-generated content.

Guys, thanks for the prompt replies!
It is a little inconvenient, as we have a number of such pages migrated from Confluence. But it seems we have to deal with that.