我在 WordPress 插件中使用cleditor作为我选择的富文本编辑器。
然而,看似随机的,它决定插入<span class="Apple-style-span">
到我的内容中。
我做了一个快速的谷歌,找不到任何东西cleditor
,但显然在 Webkit 浏览器上ckeditor
有一个类似的错误——我网站上的两个内容作者都使用谷歌浏览器。这已被记录为 webkit 的错误。
有谁知道如何解决这个问题,str_replace
除了在保存或查看内容时做一个 PHP 吗?
以下是输出示例:
<h2 id="notes" class="profile_notes">Notes</h2>
<p>
<span class="Apple-style-span" style="background-color: rgb(255, 255, 255); ">
<div>
This species is assigned the codes A220, A221 and A222 under the DATZ 'A' number system with these referring to similar-looking, possibly conspecific, populations. These differ in some aspects of colour pattern, particularly the orientation of the caudal-fin markings which may be horizontal, vertical, or somewhere inbetween.
</div>
<div>
<br>
</div>
<div>
One population displays an orange colouration on the belly and is sometimes referred to as A. mendezi 'orange' (A222) while another known as A. sp. 'fork-band' or 'gabelband' and collected in the rio Jaú may also represent a form of A. mendezi.
</div>
<div>
<span class="Apple-style-span" style="background-color: rgb(255, 255, 255); ">
<br>
</span>
</div>
Apistogramma is...
</div>
</span>
</p>
提前致谢,