Expand/Collapse not working as expected in webhelp responsive tasks
Post here questions and problems related to editing and publishing DITA content.
Expand/Collapse not working as expected in webhelp responsive tasks
There is an expand collapse icon being added in webhelp responsive task files. It looks like it is being added with a couple of H2s (About this Task and Procedure). However, the div is being closed immediately after the H2 so the content to be expanded/collapsed is sitting outside of the div, so it looks like it just doesn't work.
Using Oxygen 18.1, webhelp responsive green template, DITA, and XML 1.0.
I can see that it's working properly in the Oxygen 19 help system topics. Is there something I need to adjust in our transform so the task content is wrapped in the div? Code from inspector copied below with our help text removed.
<section class="section context"><div class="tasklabel"><h2 class="sectiontitle tasklabel"><span class="wh_expand_btn expanded"></span>About this task</h2></div>
<p class="p">You can use...</p>
<p class="p">When you import a file...</p>
<p class="p">Once the import has run....</p>
<p class="p">To ....</p>
</section>
<div class="tasklabel"><h2 class="sectiontitle tasklabel"><span class="wh_expand_btn expanded"></span>Procedure</h2></div>
<ol class="ol steps"><li class="li step stepexpand">
<span class="ph cmd">
Navigate to...
</span>
</li>
</ol>
Using Oxygen 18.1, webhelp responsive green template, DITA, and XML 1.0.
I can see that it's working properly in the Oxygen 19 help system topics. Is there something I need to adjust in our transform so the task content is wrapped in the div? Code from inspector copied below with our help text removed.
<section class="section context"><div class="tasklabel"><h2 class="sectiontitle tasklabel"><span class="wh_expand_btn expanded"></span>About this task</h2></div>
<p class="p">You can use...</p>
<p class="p">When you import a file...</p>
<p class="p">Once the import has run....</p>
<p class="p">To ....</p>
</section>
<div class="tasklabel"><h2 class="sectiontitle tasklabel"><span class="wh_expand_btn expanded"></span>Procedure</h2></div>
<ol class="ol steps"><li class="li step stepexpand">
<span class="ph cmd">
Navigate to...
</span>
</li>
</ol>
-
- Posts: 222
- Joined: Tue Jul 01, 2014 11:48 am
Re: Expand/Collapse not working as expected in webhelp responsive tasks
Post by bogdan_cercelaru »
Hello,
Unfortunately the expand/collapse button is not working for task labels generated by DITA-OT.
The expand/collapse button was removed for these elements in Oxygen v19.
My colleague registered an issue to DITA-OT for an extra container to be added in this case: https://github.com/dita-ot/dita-ot/issues/2608.
Regards,
Bogdan
Unfortunately the expand/collapse button is not working for task labels generated by DITA-OT.
The expand/collapse button was removed for these elements in Oxygen v19.
My colleague registered an issue to DITA-OT for an extra container to be added in this case: https://github.com/dita-ot/dita-ot/issues/2608.
Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service