Spellchek in Firefox

Hi guys,
is just me or spellcheck not working for Firefox?

Thank you!

@coda_team, anyone to help me with this, please?

Hi Daniel,

Sorry for the delay! Yes we currently have disabled spellcheck on Firefox. There is a browser API which we rely on for spellcheck in our editor that Firefox did not support until very recently. It is currently off by default in the latest version of Firefox, but should hopefully be more broadly available soon. I’m hoping we can turn spellcheck back on for Firefox in the coming months.

Adam

4 Likes

Thanks for the confirmation and clarification Adam.

Appreciated.

@adamginzberg64 it looks like this is still disabled on Firefox 81.0.1 (64-bit).

Any chance of a solve?

Hi Kyle,

Good question. It looks like Firefox has still not enabled the API by default but will plan to in the next couple of cycles. Given how slow this has been, I will look into seeing if there is a way for us to allow users to opt-in and report back in this thread.

Adam

1 Like

happy to help by opting-in.

So this is a browser specific API for doing spellchecking? I didn’t see anything obvious in about:config.

Is it related to: https://developer.mozilla.org/en-US/docs/Archive/Mozilla/XUL/Using_spell_checking_in_XUL ?

@Kyle we made a couple changes on our side to enable opting in to spellcheck on Firefox and wrote up some instructions for turning it on here: https://help.coda.io/en/articles/4537799-enabling-spellcheck-on-firefox

Would love to hear how that works for you or any issues that you run into.

If you’re curious about the specific API that Firefox is just starting to support there’s a lengthy thread in the bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=970802.

4 Likes

@adamginzberg64

Using FF 85.0.

I am able to confirm that I get the red spelling squiggles on coda docs DO APPEAR once I install a dictionary and enable dom.input_events.beforeinput.enabled in about:config

critically if you don’t have a dict (sounds obvious) it does not work. It still a bit of a strange choice from FF to not have a default dictionary but ¯\(ツ)/¯. Maybe it does for en-US installs? I’m on en-GB.

Note the third column on this table: Dictionaries and Language Packs – Add-ons for Firefox (en-GB)

On FF 85.0 it is possible to quickly test this by toggling dom.input_events.beforeinput.enabled and then duplicating the tab you are testing, and repeat that toggle+dup and you can clearly see it working and not working based on the true|false setting of dom.input_events.beforeinput.enabled.

I hope that helps. Sorry it took a while to give feedback, I’d tried it a few times without success of a few machines but now I’ve nailed the requirements. :+1::pray::heavy_check_mark: