| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 5.12.2_ Multi-Page Template Insertion Studio, Page Context Menus, and Version Bump to 5.12.2 source code.tar.gz | 2026-10-28 | 23.5 MB | |
| 5.12.2_ Multi-Page Template Insertion Studio, Page Context Menus, and Version Bump to 5.12.2 source code.zip | 2026-10-28 | 23.8 MB | |
| README.md | 2026-10-28 | 7.6 kB | |
| OpenPublisher5-i386-windowsXP.exe | 2026-10-28 | 56.5 MB | |
| openpublisher5_amd64-windows-portable.exe | 2026-10-28 | 183.2 MB | |
| openpublisher5_amd64-windows.exe | 2026-10-28 | 165.2 MB | |
| openpublisher5_amd64-macos.dmg | 2026-10-28 | 233.1 MB | |
| openpublisher5_amd64-linux.run | 2026-10-28 | 193.4 MB | |
| openpublisher5_amd64-linux.rpm | 2026-10-28 | 215.4 MB | |
| openpublisher5_amd64-linux.flatpak | 2026-10-28 | 153.6 MB | |
| openpublisher5_amd64-linux.deb | 2026-10-28 | 156.2 MB | |
| openpublisher5_amd64-linux.AppImage | 2026-10-28 | 166.4 MB | |
| openpublisher5_amd64-freebsd.pkg | 2026-10-28 | 185.5 MB | |
| Totals: 13 Items | 1.8 GB | 0 | |
π Summary
Version 5.12.2 introduces the Multi-Page Template Insertion Studio, allowing creators to seamlessly incorporate any of OpenPublisher's 270+ professional templates directly into existing multi-page publications. Rather than being restricted to starting with a single template or duplicating identical page layouts, users can now combine diverse templates across different pages of the same document (e.g., combining a newsletter cover, an article layout, a photo gallery, and a back-cover brochure). The feature includes a dedicated insertion modal (window.showInsertTemplateModal()) with real-time template search, category filtering, target page selection, insertion positioning ("Insert as New Page (After Target)", "Insert as New Page (At End)", "Insert as New Page (Before Target)", "Replace Target Page Content", and "Append Elements onto Target Page"), and page dimension handling ("Use Template Page Size" or "Match Target Page Size"). Direct integration has been added to the Insert ribbon tab ("Template Page" button), the Minimap right-click context menu ("Insert Template Page..."), and the Canvas context menus. The standard Templates modal now features a direct navigation banner leading into the insertion studio, and selecting templates when an active document is open presents non-destructive options. All cachebusters and system files across the repository have been synchronized to version 5.12.2.
π Enhancements & Fixes
- Multi-Page Template Insertion Studio:
- Dedicated Insertion Modal: Introduced
window.showInsertTemplateModal()featuring an interactive card grid, category tabs ("All", "Resumes", "Flyers", "Brochures", "Newsletters", "Posters", and more), and a real-time instant search bar. - Flexible Insertion Modes: Choose precisely how the template is integrated into your document:
- Insert as New Page (After Target): Creates a new page immediately following the selected page (default).
- Insert as New Page (At End of Document): Appends a new page at the very end of your publication.
- Insert as New Page (Before Target): Inserts a new page before the active page.
- Replace Target Page Content: Clears the target page elements and background, applying the template directly without changing page order.
- Append Elements onto Target Page: Keeps existing page content intact while adding template elements on top.
- Page Dimension Modes:
- Use Template Page Size: Preserves the template's native dimensions, orientation, and aspect ratio.
- Match Target Page Size: Adopts the existing target page's width and height.
- Non-Destructive Unique Element IDs: Every imported element and page receives fresh unique IDs, preventing collisions with existing document elements.
- Full Undo/Redo Integration: Every template insertion is captured on the undo/redo history stack (
pushHistory()), allowing instant one-click reversal. - Floating Toast Feedback: Instant feedback via
window.showToastNotification()confirms inserted template name and destination page. - UI & Navigation Integration:
- Ribbon Insert Tab Integration: Added a dedicated "Template Page" button with a plus-badge icon to the Insert ribbon tab (
#ribbon-insert) for one-click access. - Template Modal Banner & Link: Added a prominent banner in the standard Templates modal (
#template-modal) linking directly to the multi-page template insertion studio. - Intelligent Non-Destructive Template Selection: If users select a template from the standard modal while having an active multi-page document, OpenPublisher prompts with clear choices ("Insert as New Page", "Apply to Current Page", or "Start Fresh"), preventing accidental document loss.
- Context Menu Integration:
- Minimap Page Context Menu: Added "Insert Template Page..." to the minimap right-click context menu (
#minimap-context-menu), automatically setting the right-clicked page as the insertion target. - Canvas Blank & Sidebar Menus: Added "Insert Template Page..." to
ui/menus.jssidebar blank menu, canvas blank menu, and the Insert flyout. - Cross-Environment Asset Loading:
- Universal URL Helper: Added
window.getTemplateAssetUrl(path)ensuring cachebusting query strings are utilized under HTTP/HTTPS while preserving compatibility across varied runtime protocols. - System Synchronization & Version Bump (v5.12.2):
- Service Worker Cache: Updated cache name to
open-publisher-v5-12-2insw.js. - Asset Cachebusters: Bumped all 86 script and stylesheet query strings in
index.htmlfrom?v=5.12.1to?v=5.12.2. - Core Engines & Diagnostics: Synchronized version markers across
core/boot.js,core/core.js,elements/progress-bar/progress-bar.js,elements/wordart/legacy-wordart.js,extensions/print-engine.js,extensions/system-patches.js,extensions/ui-interactions.js,io/export/canvas-renderer.js,ui/menus.js, andstyle.css.
β Checklist Completed
- [x] Multi-Page Template Insertion Engine
- [x] Implement
window.insertTemplateToPage(opubData, options)with unique ID generation - [x] Support 5 insertion modes (After, End, Before, Replace, Append)
- [x] Support 2 page dimension modes (Use Template Size, Match Target Page Size)
- [x] Register page orientation in
window._orientedPagesRegistry - [x] Wire into
pushHistory()for full Undo and Redo support - [x] Implement
window.showToastNotification(message, icon) - [x] Insertion Studio Modal Window
- [x] Implement
window.showInsertTemplateModal(options)with DialogSystem - [x] Add target page dropdown selector
- [x] Add insertion action dropdown selector
- [x] Add page size mode dropdown selector
- [x] Add live instant search input filtering by name and category
- [x] Add category navigation pills with icons
- [x] Add responsive template card grid with hover preview badges
- [x] Wire responsive immediate click handling with async fallback
- [x] UI & Context Menu Integration
- [x] Add "Template Page" button to Insert ribbon tab
- [x] Add multi-page template insertion banner and button to standard Template modal
- [x] Add "Insert Template Page..." to minimap right-click context menu
- [x] Add "Insert Template Page..." to sidebar and canvas context menus in
ui/menus.js - [x] Upgrade
loadTemplate()with non-destructive prompt for existing documents - [x] System-Wide Version Bump to 5.12.2
- [x] Bump
sw.jscache name toopen-publisher-v5-12-2 - [x] Bump all 86 asset cachebuster query strings in
index.htmlto?v=5.12.2 - [x] Bump headers and telemetry in
core/boot.js,core/core.js,elements/progress-bar/progress-bar.js,elements/wordart/legacy-wordart.js,extensions/print-engine.js,extensions/system-patches.js,extensions/ui-interactions.js,io/export/canvas-renderer.js,ui/menus.js, andstyle.css - [x] Verify zero remaining occurrences of 5.12.1 in repository
- [x] Verification & Validation
- [x] Verify template card grid population (270+ templates)
- [x] Verify insertion as Page 2 with elements and styling
- [x] Verify active page navigation and toast notification
- [x] Verify Undo and Redo operations
π Version 5.12.2 - Open Publisher