IE11 中的文本区域问题 - 文本内容自动更改

Text Area issue in IE11 - text content changed automatically

我有一个简单的 html 文件。

<!doctype html>
<html><head></head>
<html>
<body>
<textarea rows="4" cols="50">
</textarea>
</body>
</html>

我在IE11浏览器中打开了html文件。我输入“cafe”,然后输入 space。内容自动更改为“café”。这个问题不是每次都会发生。但是一旦 html 文件首次加载到 IE11 浏览器,问题肯定会发生。

任何人都可以帮助我了解问题的原因以及如何解决这个问题吗?

是 IE 的 auto-correct "feature".

要么调整你的 textarea 如下:

 <textarea rows="4" cols="50" autocorrect="off"></textarea>

或者在您的 Windows 设置中完全关闭 auto-correct。

注意:您还可以关闭 auto-capitalization、auto-completion 和 spell-checking:

<textarea autocorrect="off" autocapitalize="off" autocomplete="off" spellcheck="false"/>

您似乎在 IE11 中启用了自动更正功能。

Disabling the Autocorrect in the Windows Settings (PC-Settings -> PC & Devices -> Typing -> Spelling) is turned to "Off"