| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 5.7.6_ Browser Native Spellcheck Suppression (Firefox Double Underline Elimination) source code.tar.gz | 2026-10-12 | 22.5 MB | |
| 5.7.6_ Browser Native Spellcheck Suppression (Firefox Double Underline Elimination) source code.zip | 2026-10-12 | 22.8 MB | |
| README.md | 2026-10-12 | 7.6 kB | |
| OpenPublisher-5-x86_64.AppImage | 2026-10-12 | 166.4 MB | |
| openpublisher5_amd64-windows-portable.exe | 2026-10-12 | 183.2 MB | |
| openpublisher5_amd64-windows.exe | 2026-10-12 | 165.2 MB | |
| openpublisher5_amd64-macos.dmg | 2026-10-12 | 233.1 MB | |
| openpublisher5_amd64-linux.run | 2026-10-12 | 193.4 MB | |
| openpublisher5_amd64-linux.rpm | 2026-10-12 | 215.4 MB | |
| openpublisher5_amd64-linux.flatpak | 2026-10-12 | 153.6 MB | |
| openpublisher5_amd64-linux.deb | 2026-10-12 | 156.2 MB | |
| openpublisher5_amd64-freebsd.pkg | 2026-10-12 | 185.5 MB | |
| Totals: 12 Items | 1.7 GB | 0 | |
π Summary
Version 5.7.6 resolves a browser conflict where Firefox simultaneously rendered both its native browser spellchecker and OpenPublisher's custom in-app proofing engine, resulting in duplicate red squiggly underlines underneath misspelled words:
- Suppression of Browser Native Underlining: Completely disabled browser-based spellchecking underlines so that Firefox renders exclusively OpenPublisher's in-app red wavy line for misspelled words and green wavy line for grammar issues.
- Dual-Layer Defense Architecture: Enforces
spellcheck="false"across the DOM while simultaneously applying CSS-level suppression (text-decoration: none !important; -webkit-text-decoration: none !important;) on native pseudo-elements (::spelling-errorand::grammar-error). - In-App Proofing Retention: Decoupled OpenPublisher's in-app proofing engine (
tools/proofing/spellcheck-engine.js) from HTMLspellcheck="false"by utilizingdata-spellcheck="false"for opt-out checks. Misspelled words continue to receive crisp, high-contrast wavy highlights via the modern CSS Custom Highlight API (CSS.highlights) across all zoom levels and scale factors. - Subsystem Synchronization & Cache Invalidation: Synchronized all 83 asset cachebuster queries to
?v=5.7.6inindex.html, incremented the Service Worker cache namespace toopen-publisher-v5-7-6, and updated the About dialog and subsystem logs.
π Problem Solved & Root Cause Analysis
Firefox Double Red Squiggly Underlines (Browser Native Conflict)
- Background: In version 5.6.0, OpenPublisher transitioned to a custom, professional proofing engine (
tools/proofing/spellcheck-engine.js) rendering red wavy underlines for spelling errors (::highlight(spelling-error)) and green wavy underlines for grammatical errors (::highlight(grammar-error)). - The Browser Discrepancy: Chromium-based browsers (Chrome, Edge, NW.js, Vivaldi) automatically suppress native browser spellcheck underlines when editable text nodes reside inside CSS-transformed or scaled containers (such as OpenPublisher's canvas zoom container). Because of this Chromium behavior, only OpenPublisher's custom in-app wavy underlines were rendered in Chrome, Edge, and Vivaldi.
- The Firefox Bug: Firefox (Gecko) does not suppress native spellcheck inside CSS-transformed containers. Furthermore:
<body spellcheck="true">was set inindex.html.spellcheck="true"was actively injected onto contenteditable text boxes acrosscore/boot.js,core/pages.js,elements/text/text.js, andui/sidebar-context.js.style.cssexplicitly styled the native::spelling-errorpseudo-element with a red wavy underline (text-decoration: underline wavy #e74c3c !important;).- The Result: In Firefox, both the browser's native Hunspell dictionary engine and OpenPublisher's in-app proofing engine ran concurrently on every text box, drawing two competing red squiggly underlines underneath each misspelled word.
- The Solution:
- DOM Layer: Enforced
spellcheck="false"globally on<body>inindex.html, on newly spawned text boxes inelements/text/text.js, on loaded page elements incore/pages.js, inui/sidebar-context.jscreateWrapper(), inui/modals/options-modal.js, and on boot incore/boot.js. - CSS Layer: In
style.css, completely suppressed native spellcheck and grammar pseudo-elements across all selectors:css ::spelling-error, ::grammar-error, *::spelling-error, *::grammar-error, [contenteditable="true"]::spelling-error, [contenteditable="true"]::grammar-error, .element-content [contenteditable="true"]::spelling-error, .element-content [contenteditable="true"]::grammar-error, [contenteditable="true"] *::spelling-error, [contenteditable="true"] *::grammar-error, [spellcheck="false"]::spelling-error, [contenteditable="true"][spellcheck="false"]::spelling-error, [spellcheck="false"]::grammar-error, [contenteditable="true"][spellcheck="false"]::grammar-error { text-decoration: none !important; -webkit-text-decoration: none !important; } - In-App Engine Adaptation: Updated
tools/proofing/spellcheck-engine.jsso element eligibility checks inspectdata-spellcheck="false"instead of the standardspellcheck="false"attribute. This allows the in-app proofing highlighter to scan and highlight text boxes while the browser native spellchecker stays dormant.
π Files Modified in 5.7.6
| File | Changes |
|---|---|
style.css |
Replaced native ::spelling-error and ::grammar-error rules with text-decoration: none !important; -webkit-text-decoration: none !important; to eliminate browser native underlines. |
tools/proofing/spellcheck-engine.js |
Updated proofing element eligibility checks to verify data-spellcheck="false" instead of spellcheck="false", allowing custom in-app highlights to paint while native spellcheck is suppressed. Bumped header to (v5.7.6). |
index.html |
Updated <body spellcheck="true"> to <body spellcheck="false">. Synchronized all 83 asset cachebuster queries to ?v=5.7.6. |
core/boot.js |
Enforced spellcheck="false" on document.body and contenteditable elements during initialization. |
core/pages.js |
Replaced Chromium spellcheck="true" injection with enforcement of spellcheck="false" on header, footer, and loaded elements. |
elements/text/text.js |
Set spellcheck="false" in addTextBox() and preserved spellcheck="false" in toggleSpellCheck(). |
ui/sidebar-context.js |
Enforced spellcheck="false" on contenteditable elements inside createWrapper(). Bumped header comment to (v5.7.6). |
ui/modals/options-modal.js |
Enforced spellcheck="false" on body and elements when saving proofing options. Bumped header comment to (v5.7.6). |
extensions/ui-interactions.js |
Enforced spellcheck="false" on dynamic wrappers. Bumped About dialog version to v5.7.6. |
extensions/legacy-fixes.js |
Bumped engine log to v5.7.6. |
extensions/print-engine.js |
Bumped print sequence log string to v5.7.6. |
extensions/pwa-install.js |
Bumped header comment to (v5.7.6) and Service Worker registration query to sw.js?v=5.7.6. |
sw.js |
Bumped Service Worker cache name to open-publisher-v5-7-6 and header comment to (v5.7.6). |
ui/dashboard.js |
Updated template fetch cachebuster queries to ?v=5.7.6. |
β v5.7.6 Verification Checklist
- [x] Browser Native Spellcheck Underline Suppression: Verified native browser spellchecking is completely disabled in Firefox and all modern browsers, eliminating duplicate squiggly underlines.
- [x] In-App Proofing Retention: Verified OpenPublisher's custom in-app
::highlight(spelling-error)red squiggly underlines paint reliably on misspelled words. - [x] Multi-Layer Defense: Verified both DOM
spellcheck="false"enforcement and CSStext-decoration: none !importantpseudo-element suppression are active. - [x] Proofing Toggle Lifecycle: Verified toggling spellcheck off and on cleanly removes and reinstates custom in-app highlights while maintaining
spellcheck="false". - [x] Cache Invalidation & SW Versioning: Verified all 83 asset queries reference
?v=5.7.6andsw.jscache name isopen-publisher-v5-7-6.
π Version 5.7.6 - Open Publisher