如何在 HTML 文本区域启用拼写检查功能?

Jey*_*esh 4 html coldfusion spell-checking

我想在 HTML 文本区域中启用拼写检查功能。我正在使用 ColdFusion。这可能吗?

小智 6

您可以尝试为输入表单启用本机拼写检查支持,如下所示:

<input type="text" size="50" spellcheck="true">
<textarea spellcheck="true"></textarea>
Run Code Online (Sandbox Code Playgroud)

您还可以指定要使用的正确语言词典。如果未指定,将使用浏览器的默认语言词典。您可以通过指定lang属性来覆盖浏览器默认值。

<input type="text" spellcheck="true" lang="en">
Run Code Online (Sandbox Code Playgroud)


Ant*_*ony 3

我以前用过Foundeo 的拼写检查器。非常容易集成和定制。