Documents and articles outside the agent app read like the document page: the portal document and Help article pages, shared links and the public help center lay out what they say as on the agent document page, with a long one's Contents beside it in view as you scroll and marking the section being read, or above it on a phone; pictures open full size when clicked; a section picked from Contents stays marked, on the agent page too; 26.12.3 changelog entries

This commit is contained in:
johnnyq
2026-11-29 13:28:40 -05:00
parent fcdb014786
commit f777bb212c
10 changed files with 189 additions and 79 deletions

View File

@@ -30,6 +30,10 @@
<script src="<?= staticFileUrl('/js/tinymce_defaults.js') ?>"></script>
<script src="<?= staticFileUrl('/js/pretty_content.js') ?>"></script>
<?php if (!empty($portal_document_contents)) { ?>
<!-- A long document's or article's Contents beside it (documentReadHtml()) -->
<script src="<?= staticFileUrl('/js/document_contents.js') ?>"></script>
<?php } ?>
<script src="<?= staticFileUrl('/libs/sweetalert2/js/sweetalert2.min.js') ?>"></script>
<script src="<?= staticFileUrl('/js/confirm_modal.js') ?>"></script>