Prerequisites:
- XWiki instance 13.10
- Latest version of Pro Macros
- Trial license
- Having at least one attachment (any type) on a test page
Step to reproduce:
- Go into Test Page, start editing it via Wiki mode.
- Copy/paste this line of code. Don't forget to replace filename with the existing one on your page.
{{layout-cell att--filename="image.jpg"}}
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
{{/layout-cell}}
- Save it.
Actual result
Despite of specified attachment, only text in a cell will be visible.

Expected result
I see that field att--filename was introduced in commit 5ef0116 in LayoutCell.xml file. I don't know what was the intention of it to display image/player/viewer in a cell, but if it has no effect, it can be removed other macros of Layout don't use it. That's why only content of macro shall be as input for this macro
Prerequisites:
Step to reproduce:
Actual result

Despite of specified attachment, only text in a cell will be visible.
Expected result
I see that field att--filename was introduced in commit 5ef0116 in LayoutCell.xml file. I don't know what was the intention of it to display image/player/viewer in a cell, but if it has no effect, it can be removed other macros of Layout don't use it. That's why only content of macro shall be as input for this macro