fix(editor): use browser-safe base64 decode for en_US dictionary

The bundled en_US Hunspell dictionary was decoded with Node's Buffer,
which is undefined in the browser and crashed React on app load
(Blank UI). Switch to atob() + TextDecoder, available in both the
browser and Node 18+, so the dictionary imports cleanly in Vite.

Fixes the blank UI reported after dev server startup.
This commit is contained in:
Schwitzz
2026-10-27 14:32:08 -05:00
parent d310635b65
commit 836d82113b
File diff suppressed because one or more lines are too long