Copy link to clipboard
Copied
RH 2022.0.346
When I use a MiniTOC in a topic that is configured to display H2 through H4 headings (default setting), only the H2 headings have links associated with them.
Bug, feature, or configuration error?
Add the bookmark after the heading. It works then.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
This page was created using 2022.0 and you will see the second level links are working so I think that rules out there being a bug. I have done nothing more than apply some styling as described on my site. See Snippets (grainge.org) > Generating Outputs > Item 7 for that.
It should work by default. Test the same issue in the About RoboHelp sample project. Click Open Project and browse to Documents, then My RoboHelp Projects. Also try a fresh copy of whichever skin you are using.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Thanks, Peter. After seeing your reassurance that it should work, I dug in and found that the thing breaking it was the fact that I had added bookmarks to all of these H3 headers. If I remove the bookmarks/anchor elements, the MiniTOC is as expected.
Copy link to clipboard
Copied
I don't think that should break it. Please confirm that in another project and if it repeats, it should be reported as a bug.
Please follow this link to report bugs or request new features. https://tracker.adobe.com. Post the link to your bug report / feature request in this thread and others can vote for it. The more people who do so, the higher it gets prioritised.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Bug reported: RH-11198 | Tracker (adobe.com)
Copy link to clipboard
Copied
Does that mean you replicated the problem in a new project using a default skin and tested the About RoboHelp sample project?
I rather doubt this is a bug as it is a feature that has been in place for some time and no one else is reporting this issue.
My concern is it could take some time for this to be investigated and you will not be any further forward in seeing it working.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
That's exactly what it means. The issue doesn't exist in RH2020.8.
Copy link to clipboard
Copied
I just created a new project and this is what I see in the output. In source the topic has links as shown and in the output.
That is why I am struggling to see this as a bug. If it were, the problem would exist for everyone.
In the new project did you use the default CSS and new topics or did you import anything?
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
But did you add bookmarks to those headings? That is the thing that is causing the issue.
This does not work:
<body>
<h1>Test</h1>
<div class="minitoc" data-minitoc-targetid="drop-down" data-type="minitoc" style="">
<p class="minitoc-caption" data-close-text="" data-expanded="true" data-open-text="Contents" data-type="minitoc-caption" href="#" style="">Mini TOC (placeholder)</p>
<ol class="minitoc-list" data-from-selector="h2" data-to-selector="h4" data-type="minitoc-list" style="">
<li>Heading</li>
</ol>
</div>
<h2><a id="bookmark"></a>Level 1</h2>
<p>Words</p>
<h3><a id="bookmark1"></a>Level 1a</h3>
<p>Words</p>
<h2>Level 2</h2>
<p>Words</p>
<h3>Level 2a</h3>
<p>Words</p>
<h4>Level 2aa</h4>
<p>Words</p>
<h3>Level 2b</h3>
<p>Words</p>
</body>
But this does:
<body>
<h1>Test</h1>
<div class="minitoc" data-minitoc-targetid="drop-down" data-type="minitoc" style="">
<p class="minitoc-caption" data-close-text="" data-expanded="true" data-open-text="Contents" data-type="minitoc-caption" href="#" style="">Mini TOC (placeholder)</p>
<ol class="minitoc-list" data-from-selector="h2" data-to-selector="h4" data-type="minitoc-list" style="">
<li>Heading</li>
</ol>
</div>
<h2>Level 1</h2>
<p>Words</p>
<h3>Level 1a</h3>
<p>Words</p>
<h2>Level 2</h2>
<p>Words</p>
<h3>Level 2a</h3>
<p>Words</p>
<h4>Level 2aa</h4>
<p>Words</p>
<h3>Level 2b</h3>
<p>Words</p>
</body>
The difference being that the top has bookmarks added at the "Level 1" and "Level 1a" headers, while the bottom does not.
Copy link to clipboard
Copied
Add the bookmark after the heading. It works then.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
@AthensSlim Did that work?
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Yes, that's an effective workaround