As far as we found out, the current functionality of the format block cannot handle nested blocks. We have to get the following HTML:
<div class="subsection">
<h4>Lorem.</h4>
<p>Companies that ..</p>
<p class="next">Lorem ipsum....</p>
</div>
<div class="subsection next">
<h4>Lorem ipsum dolor...</h4>
<p>Duis nec mauris...</p>
</div>
So we defined the following Paragraphs in the file toolsfile.xml:
We enter a header line, and assign the format "Sub Heading" to this line. Then we enter two text sentences and assign the format "Normal" to them.
At last we want to select the header and the two sentences and assign the format "Subsection" to this block. The inner formats should not be removed, opposed to what RadEditor does now.
Is there a way to achieve this, or is there any other RadEditor functionality to be used for this ??
Thank you for support.
Hugo
<div class="subsection">
<h4>Lorem.</h4>
<p>Companies that ..</p>
<p class="next">Lorem ipsum....</p>
</div>
<div class="subsection next">
<h4>Lorem ipsum dolor...</h4>
<p>Duis nec mauris...</p>
</div>
So we defined the following Paragraphs in the file toolsfile.xml:
<paragraphs>
<paragraph name="<div class="subsection">Subsection</div>" value="<div class="subsection">" />
<paragraph name="<div class="subsection next">Subsection-next</div>" value="<div class="subsection next">" />
<paragraph name="<p>Normal</p>" value="<p" />
<paragraph name="<h4>Sub Heading</h4>" value="<h4>" />
</paragraphs>
<paragraph name="<div class="subsection">Subsection</div>" value="<div class="subsection">" />
<paragraph name="<div class="subsection next">Subsection-next</div>" value="<div class="subsection next">" />
<paragraph name="<p>Normal</p>" value="<p" />
<paragraph name="<h4>Sub Heading</h4>" value="<h4>" />
</paragraphs>
We enter a header line, and assign the format "Sub Heading" to this line. Then we enter two text sentences and assign the format "Normal" to them.
At last we want to select the header and the two sentences and assign the format "Subsection" to this block. The inner formats should not be removed, opposed to what RadEditor does now.
Is there a way to achieve this, or is there any other RadEditor functionality to be used for this ??
Thank you for support.
Hugo