當您將從 WordPad 的 rtf 文字貼到在 Internet Explorer 11 contentEditable div 遺漏空白行

狀況

當您將從 WordPad 的 rtf 文字貼到在 Internet Explorer 第 11 中 contentEditable div 並文字包含多個配對的"< p >< /p >"標記時,每一個都代表空白行。不過,其中的"< p >< /p >"配對會遺失。

例如,您會看到 contentEditable div 以下文字,當您貼上從 WordPad:

<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 Update。此外,請參閱技術資訊,瞭解有關 Internet Explorer 最新的累積安全性更新

注意第一次納入此更新程式MS16 063: Internet Explorer 的安全性更新︰ 2016 年 6 月 14,

狀態

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×