尝试将一些html粘贴到TinyMCE编辑器中的选项中,内容如下:
<textarea onclick="this.focus(); this.select(); _gaq.push(['_trackEvent', 'Infographic', 'Click', 'marketing-infographic']);" rows="2">
<img src="my_image.jpg" width="120" height="136" / >
View full image
<a href="https://site.com/my_image.jpg" />
</textarea>
...更新后,Tiny完全重写它,以及完全不同的东西。
<p>
<img src="my_image.jpg" height="136" width="120" />
<textarea style="height: 44px; width: 300px; margin: 2px;" onclick="this.focus(); this.select(); _gaq.push(['_trackEvent', 'Infographic', 'Click', 'marketing-infographic']);" rows="2">
View full image
</textarea>
<a href="https://site.com/my_image.jpg" title="”Infographic”"> </a>
</p>
我环顾了论坛,在这里寻求帮助,比如......
cleanup_on_startup: false,
trim_span_elements: false,
verify_html: false,
cleanup: false,
convert_urls: false
......似乎根本没有帮助。是否允许通过编辑器输入这种html而不会完全被滥用?