开发者

How do I enable spell check feature in HTML text area?

开发者 https://www.devze.com 2023-04-06 19:39 出处:网络
I want to enable 开发者_JAVA百科spell check feature in HTML text areas. I am using ColdFusion. Is this possible?You could try to enable native spellcheck support for input forms, like this:

I want to enable 开发者_JAVA百科spell check feature in HTML text areas. I am using ColdFusion. Is this possible?


You could try to enable native spellcheck support for input forms, like this:

<input type="text" size="50" spellcheck="true">
<textarea spellcheck="true"></textarea>

You can also designate a correct language dictionary to use. If not specified, the browser's default language dictionary will be used. You can override browser defaults by specifying the lang attribute .

<input type="text" spellcheck="true" lang="en">


I have used Foundeo's spell checker before. Very easy to integrate and customise.


The browser will automatically spell check if it supports that feature. For JavaScript based spell checking, see here: http://www.javascriptspellcheck.com/

-Sunjay


If using React, you have to capitalize the c:

spellCheck='true'

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号