There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-9810de3b-79d0-47f6-8257-4777f6c7a11e XWIKI-23733 Open

Gallery macro should support reference refactoring

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-cb3c7d15-28ea-4638-8543-3d0b00a87719 Vincent Massol on 19/Nov/25 10:52
 
To do it we should probably change the constructor to:

{code}
    public GalleryMacro()
    {
        super("Gallery", DESCRIPTION, new DefaultContentDescriptor(CONTENT_DESCRIPTION, true, Block.LIST_BLOCK_TYPE),
            GalleryMacroParameters.class);
        setDefaultCategories(Set.of(DEFAULT_CATEGORY_LAYOUT));
    }
{code}

But we need to check the consequences on the wysywig editor
(see also XWIKI-23735) .