Download Latest Version openpublisher5g_amd64-windows.exe (81.1 MB)
Home / 5.9.8
Name Modified Size InfoDownloads / Week
Parent folder
5.9.8_ Text Box Interaction Visual Consistency _ Outline Elimination source code.tar.gz 2026-10-17 23.3 MB
5.9.8_ Text Box Interaction Visual Consistency _ Outline Elimination source code.zip 2026-10-17 23.6 MB
README.md 2026-10-17 5.0 kB
OpenPublisher5-i386-windowsXP.exe 2026-10-17 56.5 MB
openpublisher5_amd64-windows-portable.exe 2026-10-17 183.2 MB
openpublisher5_amd64-windows.exe 2026-10-17 165.2 MB
openpublisher5_amd64-macos.dmg 2026-10-17 233.1 MB
openpublisher5_amd64-linux.run 2026-10-17 193.4 MB
openpublisher5_amd64-linux.rpm 2026-10-17 215.4 MB
openpublisher5_amd64-linux.flatpak 2026-10-17 153.6 MB
openpublisher5_amd64-linux.deb 2026-10-17 156.2 MB
openpublisher5_amd64-linux.AppImage 2026-10-17 166.4 MB
openpublisher5_amd64-freebsd.pkg 2026-10-17 185.5 MB
Totals: 13 Items   1.8 GB 0

🚀 Summary

Version 5.9.8 resolves a long-standing visual discrepancy where interacting with or clicking inside a text box caused it to gain a prominent black outline that users frequently mistook for an applied border.

When text boxes were first inserted onto the canvas, they rendered cleanly with the expected dashed blue selection boundary and blue resize/rotate handles. However, as soon as a user clicked inside to edit or format text, the browser's default user-agent focus ring applied a solid dark outline (outline: auto 1px / rgb(16, 16, 16)) to the active contenteditable container. Because the inner editable element spans 100% of the box dimensions, this dark ring overlapped the dashed selection indicator and gave the false impression of a solid border.

Open Publisher v5.9.8 eliminates this focus outline globally across all editing states while fully preserving every aspect of text editing, caret positioning, formatting, dragging, resizing, rotating, and proofing.


🔍 Root Cause Analysis & Solution

1. Root Cause

  • In style.css, .element-content had outline: none;, but .element-content is merely the outer element wrapper.
  • The actual editable node is a child <div contenteditable="true"> inserted by addTextBox() and template engines.
  • When an element is first added, it is selected via selectElement(el), but the inner editable node is not yet focused. Therefore, only Open Publisher's dashed blue selection overlay (.selected-overlay) is displayed.
  • Upon clicking or typing, the inner contenteditable node receives native browser focus (:focus and :focus-visible).
  • The browser's default stylesheet automatically injects a solid high-contrast focus outline around the active contenteditable node.

2. Implementation

  • Global CSS Override: In style.css, explicit rules suppress outlines on [contenteditable="true"], :focus, and :focus-visible across all element-content and pub-element scopes (outline: none !important;).
  • WordArt Exception Preservation: Scoped with :not(.wa-text) so that WordArt inline editing mode retains its dedicated green dashed typing frame.
  • Inline Declaration in Generator: Updated addTextBox() in elements/text/text.js to include outline:none; directly within the initial inline style attribute.
  • Zero Impact on Real Borders: Custom borders applied via the Format panel or Theme Studio continue to use CSS border properties on .element-content without any interference.

📁 Files Modified in 5.9.8

File Changes
style.css Added outline: none !important; rules for [contenteditable="true"] across default, :focus, and :focus-visible states while preserving .wa-text WordArt editing styles.
elements/text/text.js Added inline outline:none; to addTextBox() template and bumped header comment to (v5.9.8).
index.html Updated all 84 asset and module cachebuster query strings from ?v=5.9.7 to ?v=5.9.8.
sw.js Updated Service Worker cache namespace to open-publisher-v5-9-8 and header comment to (v5.9.8).
core/boot.js Bumped header comment to (v5.9.8).
core/core.js Bumped header comment to (v5.9.8).
extensions/legacy-fixes.js Bumped header comment to (v5.9.8).
extensions/print-engine.js Bumped header comment to (v5.9.8).
extensions/pwa-install.js Bumped header comment to (v5.9.8).
extensions/ui-interactions.js Bumped header comment and tracking initialization log to (v5.9.8).
tools/proofing/dictionary.js Bumped version header comment to (v5.9.8) and console load message to v5.9.8.
tools/proofing/spellcheck-engine.js Bumped header comment to (v5.9.8).
ui/menus.js Bumped header comment to (v5.9.8).
ui/modals/card-sheet-modal.js Bumped header comment to (v5.9.8).
ui/modals/options-modal.js Bumped header comment to (v5.9.8).
ui/sidebar-context.js Bumped header comment to (v5.9.8).

✅ v5.9.8 Verification Checklist

  • [x] Visual Consistency on Insertion: Text boxes render with clean dashed blue selection outlines and 8 resize handles.
  • [x] Visual Consistency on Interaction: Clicking into the text box to focus and type no longer displays a black or solid outline.
  • [x] Text Editing & Formatting: Verified text input, caret placement, selection ranges, and execCommand formatting (e.g. bold).
  • [x] Proofing Compatibility: Verified that green grammar squiggles and red spelling squiggles continue to render accurately inside focused text boxes.
  • [x] Canvas Interaction: Verified handle resizing, element movement, deselect, and re-select functionality remain fully operational.
  • [x] Service Worker & Cachebuster Sync: Verified sw.js cache name is open-publisher-v5-9-8 and all 84 cachebusters in index.html are ?v=5.9.8.

🎉 Version 5.9.8: Open Publisher

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