Download Latest Version openpublisher5g_amd64-windows.exe (81.1 MB)
Home / 5.22.5
Name Modified Size InfoDownloads / 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:

  1. Shared 2-Page Puzzle Allocator (core/pages.js): Extracted window.insertTwoPagePuzzleIntoDocument so 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.
  2. 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.
  3. Word Search Attribute Persistence & Synchronized Version Bump (core/history.js, v5.22.5): Added data-wordsearch and data-ws-* attributes to serializeCurrentPage() alongside Crossword, Codebreaker, and Cryptogram attributes, and bumped synchronized app version references to 5.22.5.

op-MultiPagePuzzleInsertionAndReUse


πŸ› οΈ 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-wordsearch and data-ws-* attribute preservation inside serializeCurrentPage() so Word Search elements keep their puzzle metadata cleanly across multi-page switches and .opub saves.

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), and insertCryptogramIntoDocument (ui/modals/cryptogram-modal.js) to route insertion through window.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.insertTwoPagePuzzleIntoDocument in core/pages.js so 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-* in serializeCurrentPage() (core/history.js)
  • [x] Synchronize version strings from 5.22.4 to 5.22.5 across core HTML/JS/SW files and README badges
  • [x] Tested - Passed

πŸš€ Version 5.22.5 - Open Publisher

Source: README.md, updated 2026-11-17