警告: 在某些版本的 Windows 10 上,通过 Microsoft Edge 更新永久禁用已停用的不支持的 Internet Explorer 11 桌面应用程序。 有关详细信息,请参阅 Internet Explorer 11 桌面应用停用常见问题解答。
症状
将写字板中的富文本粘贴到 Internet Explorer 11 中的 contentEditable div 中时,文本包含多对“<p> </p>”标记,其中每个标记都表示一个空行。 但是,缺少“<p> </p>”对之一。
例如,从写字板粘贴时,你希望在 contentEditable div 中看到以下文本:
<div contenteditable="true">
<span lang="">
<p>This is a test</p>
<p> </p>
<p>This is another test with 1 new line</p>
<p> </p>
<p> </p>
<p> </p>
<p>Next line after 3 new lines</p>
</span>
</div>
但是,文本的显示方式如下:
<div contenteditable="true">
<span lang="">
<p>This is a test</p>
<p>This is another test with 1 new line</p>
<p> </p>
<p> </p>
<p>Next line after 3 new lines</p>
</span>
</div>
解决方案
若要解决此问题,请安装 Internet Explorer 的最新累积安全更新。 为此,请转到 Microsoft 更新。 此外,请参阅 有关 Internet Explorer 的最新累积安全更新的技术信息。
注意 此更新最初包含在 MS16-063:Internet Explorer 安全更新:2016 年 6 月 14 日。
状态
Microsoft 已经确认这是一个列于“适用范围”部分的 Microsoft 产品问题。
参考
了解 Microsoft 用于描述软件更新的术语。