| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| OpenPublisher5-i386-windowsXP.exe | 2026-11-17 | 56.5 MB | |
| openpublisher5g_amd64-windows.exe | 2026-11-17 | 81.1 MB | |
| openpublisher5_amd64-windows-portable.exe | 2026-11-17 | 183.2 MB | |
| openpublisher5_amd64-windows.exe | 2026-11-17 | 165.2 MB | |
| openpublisher5_amd64-macos.dmg | 2026-11-17 | 233.1 MB | |
| openpublisher5_amd64-linux.run | 2026-11-17 | 193.4 MB | |
| openpublisher5_amd64-linux.rpm | 2026-11-17 | 215.4 MB | |
| openpublisher5_amd64-linux.flatpak | 2026-11-17 | 153.6 MB | |
| openpublisher5_amd64-linux.deb | 2026-11-17 | 156.2 MB | |
| openpublisher5_amd64-linux.AppImage | 2026-11-17 | 166.4 MB | |
| openpublisher5_amd64-freebsd.pkg | 2026-11-17 | 185.5 MB | |
| 5.22.5_ Multi-Game Page Allocation Fix (Fun Tab) source code.tar.gz | 2026-11-17 | 123.2 MB | |
| 5.22.5_ Multi-Game Page Allocation Fix (Fun Tab) source code.zip | 2026-11-17 | 123.8 MB | |
| README.md | 2026-11-17 | 4.9 kB | |
| Totals: 14 Items | 2.0 GB | 0 | |
π Summary
Version 5.22.5 fixes multi-page puzzle insertion across all four Fun Ribbon tab generators (Word Search Studio, Crossword Builder, Codebreaker Grid, and Cryptogram Frames) so adding multiple puzzles in sequence always creates clean individual pages without overwriting or dropping Answer Keys:
- Shared 2-Page Puzzle Allocator (
core/pages.js): Extractedwindow.insertTwoPagePuzzleIntoDocumentso every Fun tab puzzle generator checks whether the active page is an empty non-master page before inserting. When the active page already contains elements (such as an earlier puzzle or Answer Key), new page(s) are appended cleanly rather than stacking onto or replacing existing pages. - Individual Pages for Every Game & Answer Key (
ui/modals/word-search-modal.js,ui/modals/crossword-modal.js,ui/modals/codebreaker-modal.js,ui/modals/cryptogram-modal.js): Generating a second puzzle when 2 pages already exist (for example, Page 1 Puzzle + Page 2 Answer Key) now creates 2 dedicated new pages (Page 3 for the new Puzzle and Page 4 for the new Answer Key when checked), preserving Pages 1 and 2 untouched. - Word Search Attribute Persistence & Synchronized Version Bump (
core/history.js,v5.22.5): Addeddata-wordsearchanddata-ws-*attributes toserializeCurrentPage()alongside Crossword, Codebreaker, and Cryptogram attributes, and bumped synchronized app version references to5.22.5.
π οΈ Key Improvements
1. Shared Multi-Page Puzzle Allocation (core/pages.js, core/history.js)
- Non-Destructive Active-Page Check (
window.insertTwoPagePuzzleIntoDocument): - Serializes the current page first and reuses it only when it has zero elements (
elements.length === 0) and is not the Master Page. - Whenever the current page is already populated, creates a new blank page at the end of
state.pages, switches to that page to insert the new puzzle, and creates a dedicated subsequent Answer Key page (puzzlePageIdx + 1) when Generate Answer Key on Page 2 is enabled. - Refreshes all sidebar thumbnails synchronously (
updateThumbnails()+updateSidebar()) and returns focus to the newly created puzzle page. - Word Search Attribute Whitelisting (
core/history.js): - Added
data-wordsearchanddata-ws-*attribute preservation insideserializeCurrentPage()so Word Search elements keep their puzzle metadata cleanly across multi-page switches and.opubsaves.
2. Unified Integration Across All Four Fun Tab Generators
- Updated
insertWordSearchIntoDocument(ui/modals/word-search-modal.js),insertCrosswordIntoDocument(ui/modals/crossword-modal.js),insertCodebreakerIntoDocument(ui/modals/codebreaker-modal.js), andinsertCryptogramIntoDocument(ui/modals/cryptogram-modal.js) to route insertion throughwindow.insertTwoPagePuzzleIntoDocument, removing duplicated page-splicing logic and reporting the exact created Answer Key page number in the toast notification.
π Version Synchronization (v5.22.5)
| Component | Target Version | Updated Reference |
|---|---|---|
| Shared Puzzle Page Allocator | v5.22.5 |
core/pages.js, core/history.js |
| Fun Tab Puzzle Studios (All 4) | v5.22.5 |
ui/modals/word-search-modal.js, crossword-modal.js, codebreaker-modal.js, cryptogram-modal.js |
| Application Assets & Cache Busting | v5.22.5 |
index.html |
| Service Worker & Cache Store | open-publisher-v5-22-5-1 |
sw.js |
| Watermark & Print Engines | v5.22.5 |
extensions/watermark-engine.js, extensions/print-engine.js |
| AI Assistant & UI Interactions | v5.22.5 |
extensions/ai-assistant.js, extensions/ui-interactions.js |
| PWA Registration & Templates | v5.22.5 |
extensions/pwa-install.js, elements/templates/templates.js |
| Dashboard, 404 Router, & Badges | v5.22.5 |
ui/dashboard.js, 404.html, README.md |
β Checklist Completed
- [x] Implement shared
window.insertTwoPagePuzzleIntoDocumentincore/pages.jsso existing occupied pages and Answer Keys are never overwritten when inserting subsequent puzzles - [x] Wire all 4 Fun tab puzzle generators (
WordSearchStudio,CrosswordStudio,CodebreakerStudio,CryptogramStudio) to create dedicated new individual pages (2 pages when Answer Key is checked, 1 page when unchecked) - [x] Preserve
data-wordsearch/data-ws-*inserializeCurrentPage()(core/history.js) - [x] Synchronize version strings from
5.22.4to5.22.5across core HTML/JS/SW files and README badges - [x] Tested - Passed
π Version 5.22.5 - Open Publisher