Javascript access to spell checker on browsers

后端 未结 3 1903
误落风尘
误落风尘 2020-12-03 14:37

Is it possible to get access to the spell checker that is incorporated in browsers for text areas from Javascript? I would like to be able to control spell checking from wit

3条回答
  •  萌比男神i
    2020-12-03 15:18

    Browser's don't provide access to their built-in, proprietary spell checker APIs. I'm quite certain there's no x-plat way to do this, let alone a way to do it individually for each browser.

    Best bet is to check with each browser vendor and see if they provide any javascript hooking of their spell checker.

    I think the most they'll allow is what Bobo said; you can enable/disable it for textboxes, but I don't think they allow any further control than that.

提交回复
热议问题