Page 1 of 1

Inserting a figure inside subsection is moving outside the subsection in Author mode

Posted: Thu Dec 15, 2022 9:51 am
by roopesh79
Hi Team,

I am trying to insert a figure inside subsection in author mode. When I insert an image it move outside the subsection element. It works fine in text mode. What is the solution to fix this issue.
<section><title>section 1</title>
<subsection id="subsection1">
<title>subsection tile</title>
<p> <fig id="fig_jd4_hvr_vvb">
<title>test</title>
<image placement="break"
href="connection.png"
id="image1"/>
</fig></p>
</subsection>
</section>
To reproduce the issue in Author mode
1. create a subsection inside section element in any dita topic
2. insert <p></p> elment
3. insert <fig> with image inside the <p> element
After insert <fig> element will move outside the subsection.

Re: Inserting a figure inside subsection is moving outside the subsection in Author mode

Posted: Thu Dec 15, 2022 10:10 am
by Radu
Hi,

The DITA standard does not have a <subsection> element. Did you customize the DITA DTDs to add a subsection element? If so, we can help further only if you send us your DITA DTD specialization (support@oxygexml.com) so that we can try to reproduce the problem on our side.

Regards,
Radu