Guides/Fixup

* make preview area of class: text so styles are applied as expected
 * fix evaluation of Markup h2/h3 attribute toc=false, so headings are excluded from TOC as expected
This commit is contained in:
Sarjuuk 2025-10-22 18:03:11 +02:00
parent f522c960d9
commit 6ea1457c4f
3 changed files with 4 additions and 3 deletions

View file

@ -295,7 +295,7 @@ endif;
}
updateQfPreview();
}).bind(this), 50)"><?=Lang::guide('editor', 'autoupdate');?></label></h2>
<div id="guide-body"><div id="livePreview" style="margin-right:10px"></div></div>
<div id="guide-body" class="text"><div id="livePreview" style="margin-right:10px"></div></div>
<script>updatePreview(true);</script>
</div>
</div>