| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| OpenPublisher5-i386-windowsXP.exe | 2026-11-15 | 56.5 MB | |
| openpublisher5g_amd64-windows.exe | 2026-11-15 | 81.1 MB | |
| openpublisher5_amd64-windows-portable.exe | 2026-11-15 | 183.2 MB | |
| openpublisher5_amd64-windows.exe | 2026-11-15 | 165.2 MB | |
| openpublisher5_amd64-macos.dmg | 2026-11-15 | 233.1 MB | |
| openpublisher5_amd64-linux.run | 2026-11-15 | 193.4 MB | |
| openpublisher5_amd64-linux.rpm | 2026-11-15 | 215.4 MB | |
| openpublisher5_amd64-linux.flatpak | 2026-11-15 | 153.6 MB | |
| openpublisher5_amd64-linux.deb | 2026-11-15 | 156.2 MB | |
| openpublisher5_amd64-linux.AppImage | 2026-11-15 | 166.4 MB | |
| 5.21.0_ Continuous Live Text Flow _ Linked Text Box Chains (Issue #11) source code.tar.gz | 2026-11-15 | 123.1 MB | |
| 5.21.0_ Continuous Live Text Flow _ Linked Text Box Chains (Issue #11) source code.zip | 2026-11-15 | 123.7 MB | |
| README.md | 2026-11-15 | 9.3 kB | |
| openpublisher5_amd64-freebsd.pkg | 2026-11-15 | 185.5 MB | |
| Totals: 14 Items | 2.0 GB | 0 | |
π Summary
Version 5.21.0 resolves GitHub Issue [#11] (#11 reported by IcedQuinn and reproduced by tallulah95), upgrading linked text boxes from a one-time cut-and-paste split into a true desktop-publishing continuous text flow engine matching Scribus, InDesign, and Microsoft Publisher behavior:
- Linked text boxes now form live, bidirectional story chains (
data-next-box/data-prev-box) that dynamically spill overflowing content downstream and pull text back up automatically when any frame is resized, padded, edited, styled, or unlinked. - Rich HTML structure (
<b>,<i>, colored<span>styles, paragraphs, headings, and lists) is preserved across box boundaries, placeholder text in target boxes is stripped automatically upon linking, and selection overlays now display numbered chain badges (#1,#2, ...) with teal directional connector arrows and frame overflow indicators (...). - Text flow links now persist cleanly through page switches, document saves, Undo/Redo history snapshots, and box deletions (
5.21.0synchronized across all scripts, stylesheets, service worker, and UI badges).
π οΈ Key Improvements
1. Continuous Rich-HTML Story Reflow Engine (canvas/interaction-text-flow.js, style.css)
- Replaced plain-text
.innerTextslicing with a rich-DOM layout engine (window.flowTextBoxes,window.scheduleTextFlow): - Bidirectional Dynamic Reflow: Gathers the entire story across the linked chain, coalesces split continuation nodes (
data-flow-cont="true"), and re-packs every frame in order whenever any linked frame or ancestor box changes. - Frame-Bounded Fitting: Computes inner usable width/height inside
.pub-elementboxes (accounting for padding, borders,box-sizing, and multi-columnscrollWidth) and measures against a zero-padding probe container so Chrome/Edge and Firefox/Gecko agree cleanly at frame boundaries. Allows frames shrunk shorter than one line to spill0fitted characters downstream instead of forcing clip overflow. - Rich Formatting & Selection Continuity: Splits text nodes cleanly on word/token boundaries with character-level binary fallback while preserving bold, italic, colors, font styles, and paragraph containers. Preserves and restores active caret position and non-collapsed text selections across boxes during reflow without stealing focus during mouse resize drags.
- Persistent Proofing & Loop Prevention: Drains
textFlowMutationObserver.takeRecords()before clearingwindow._isFlowingText, deduplicates unchangedResizeObservercallbacks, and immediately repaintsSpellCheckEngine.paintHighlights()after reflow so the in-app red spellcheck squiggly underlines stay visible on both selected and unselected linked boxes without flickering. - Live Observers: Attaches
ResizeObserverandMutationObserver(window.initTextFlowLinks,observeLinkedTextBox) to linked boxes so resizing via drag handles, typing/pasting, Ribbon size controls,.text-margin-handlepadding drags, and typography changes all trigger instant reflow. - Frame Overflow Styling (
style.css): Forces frame-bounded layout (box-sizing: border-box,height: 100%,overflow: hidden) on linked text elements and displays a red...badge ([data-text-overflow="true"]::after, hidden on print) when the terminal frame still overflows.
2. Full Link Lifecycle, Ctrl+A Text Selection & Ribbon Controls (canvas/interaction.js, canvas/interaction-mouse.js, extensions/legacy-fixes.js, ui/ui.js, ui/menus.js, extensions/system-patches.js)
- Single-Box
Ctrl+ASelect All (extensions/legacy-fixes.js): UpdatedCtrl+A(Cmd+A) handling so pressingCtrl+Awhile editing or while a text box is selected focuses that box's[contenteditable="true"]container and highlights all text inside that single box (selectNodeContents) rather than selecting all page elements or letting focus/wrapper quirks block selection, while preserving canvas-wide multi-element selection when no text box is active. - Reliable Linking & Splicing (
window.linkTextBoxes): - Guarantees unique element IDs on both source and destination boxes, prevents circular self/ancestor chains, disables
data-grow-fit, strips default"Click to edit text"placeholder text from destination frames before reflow, supports splicing into existing chains, and records undo history. - Updated pointer handling in
canvas/interaction-mouse.jsandcanvas/interaction.jsso clicking a target box whilewindow.isLinkingTextBoxis active completes linking cleanly instead of starting a drag or losing source context; clicking empty canvas (core/selection.js) or pressingEscape(core/keyboard.js) exits linking mode cleanly. - Unlink & Deletion Healing (
window.unlinkTextBox,window.handleLinkedBoxesRemoved): - Added Link (
btn-link-textbox) and Unlink (btn-unlink-textbox) controls in the Text Box Format Ribbon (ui/ui.js) as well as Link Text Box... and Break Text Flow Link entries in the right-click context menu (ui/menus.js). - Deleting a middle box in a linked chain (
core/selection.js) automatically heals adjacent links and reflows the story. - Visual Chain Overlays (
window.renderTextFlowOverlays,extensions/system-patches.js): - Draws teal dashed directional SVG connector curves and numbered order badges (
#1,#2, etc.) across.selection-overlay-containerwhenever a linked text box is selected.
3. History, Save/Load & Page Render Persistence (core/history.js, core/pages.js)
- Added
data-next-box,data-prev-box, anddata-text-overflowto thefilterAttrsattribute whitelist inserializeCurrentPage()(core/history.js) so Undo/Redo snapshots, multi-page switches, and.opubfile saves preserve text flow chains instead of dropping links. - Wired
window.initTextFlowLinks(paper)intorenderPage()(core/pages.js) so loaded and switched pages immediately re-attach flow observers and reflow linked chains.
π Version Synchronization (v5.21.0)
| Component | Target Version | Updated Reference |
|---|---|---|
| Service Worker | v5.21.0 |
open-publisher-v5-21-0-1 and header comment in sw.js |
| Template Router & 404 | v5.21.0 |
Cachebusters and deep-link router comment in elements/templates/templates.js and 404.html |
| Dashboard Start Screen | v5.21.0 |
Asset query strings updated to ?v=5.21.0 in ui/dashboard.js |
| AI Studio Engine | v5.21.0 |
Header version and AIAssistant.VERSION (5.21.0) in extensions/ai-assistant.js |
| About Dialog & UI Interactions | v5.21.0 |
Header comment, Knowledge Base icon query strings, and About dialog (v5.21.0) in extensions/ui-interactions.js |
| Print & Watermark Engines | v5.21.0 |
Header comments in extensions/print-engine.js and extensions/watermark-engine.js |
| PWA Installer | v5.21.0 |
Service worker registration sw.js?v=5.21.0 in extensions/pwa-install.js |
| Application Cachebusters | v5.21.0 |
All 106 script, stylesheet, and asset query strings updated to ?v=5.21.0 in index.html |
| README Badges | v5.21.0 |
Patreon and Facebook badge query strings updated to ?v=5.21.0 in README.md (preserving the 5.20.8 Gecko binary download link) |
β Checklist Completed
- [x] Implement continuous rich-HTML story reflow across linked text box chains (
canvas/interaction-text-flow.js,style.css) - [x] Trigger automatic reflow on box resize handles, ribbon geometry edits, typing, paste, style/margin changes, and deletion
- [x] Strip
"Click to edit text"placeholder from destination frames, preserve rich inline/paragraph formatting, and guard against circular chains - [x] Persist
data-next-box,data-prev-box, anddata-text-overflowacross Undo/Redo, page switches, and.opubsave/load (core/history.js,core/pages.js) - [x] Add Ribbon
Link/Unlinkcontrols, context menu actions, Escape/canvas cancel, and visual#1 -> #2overlay connectors (ui/ui.js,ui/menus.js,extensions/system-patches.js,core/selection.js,core/keyboard.js) - [x] Drain
MutationObserverrecords and immediately repaintSpellCheckEngine.paintHighlights()after reflow so in-app spellcheck underlines stay visible on linked boxes - [x] Fix
Ctrl+A(Cmd+A) to reliably highlight all text inside the active or selected text box while keeping canvas Select All intact when no text box is focused/selected - [x] Verify end-to-end in live browser (
http://127.0.0.1:8123/,http://127.0.0.1:8124/): linking, placeholder stripping, rich HTML preservation, shrink/enlarge bidirectional resize reflow, 3-box cascading ripple, Undo/Redo chain retention, Unlink, persistent spellcheck highlights, andCtrl+Abehavior with zero app JS errors - [x] Synchronize version
5.21.0acrosssw.js(open-publisher-v5-21-0-1),index.html, and versioned modules
π Version 5.21.0 - Open Publisher