Hello,
Is there a way to get a panel macro working within a panel?
If I do the following:
{panel:title=Notes for customers|titleBGColor=#EAECFF|bgColor=#f6f6f6}
some text
{panel:title=Fill in the info below:|borderStyle=solid|borderColor=#ccc|titleBGColor=#FFFFFF|bgColor=#FFFFCE}
some text in second panel
{panel}
some more text in first panel
{panel}
I get the first panel and the 2nd panel title bar but everything beyond that is not in a panel, neither the first or the 2nd. I've tried using columns and sections but neither seem to work properly for me. Any recommendations would be appreciated.
I'm doing this in the default field of a custom field.
Hello David,
Thanks for sending over your setup with a page to include a panel within a panel. The ability to seed a panel within a parent panel is not currently available within Confluence. You may create multiple panels, but you will be unable to create a panel within an existing panel. Ideally, you will want to create panels within a Section and from within that section stack your panels as needed. This will allow for better visibility and exporting of the content.
Here is an example of what the content (macroRenderedOutput) would look like:
macroRenderedOutput":{"1234":{"value":"<div class=\"confluence-information-macro confluence-information-macro-information conf-macro output-block\" data-hasbody=\"true\" data-macro-name=\"info\" data-macro-id=\"1234\"><span class=\"aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon\"> </span><div class=\"confluence-information-macro-body\"><p>Content within this panel.</p><p>More reference content</p></div></div>","embeddedContent":[],"_expandable":{"webresource":""}},"4321":{"value":"<div class=\"confluence-information-macro confluence-information-macro-note conf-macro output-block\" data-hasbody=\"true\" data-macro-name=\"note\" data-macro-id=\"4321\"><span class=\"aui-icon aui-icon-small aui-iconfont-warning confluence-information-macro-icon\"> </span><div class=\"confluence-information-macro-body\"><p>Be aware of this content.</p></div></div>"}}
I hope this proves helpful and you’re able to structure your content moving forward.
Regards,
Stephen Sifers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.