Can i have parsys inside parsys

I have a paragraph system (parsys) on my page, and inside that I drag one component; This component has two paragraph systems within it. So now I will drag the rich text component into both paragraph systems that are present in the component. However, after dragging and dropping rich-text components in two paragraph systems, I cannot edit these two rich text components because they got overlapping. Can you tell me if we can have parses inside the parsis and we will support the creation of content.

+5
source share
1 answer

Yes, it is possible that parsys is in parsys. The overlap issue will be a CSS issue and can be resolved most of the time by adding the following div to the end of your component code.

<div style="clear:both"></div>

In addition, to prevent the addition of additional div styles to your page, this should only be done in author mode:

<% if (WCMMode.fromRequest(request) == WCMMode.EDIT) { %>
    <div style="clear:both"></div>
<% } %>
+5
source

All Articles