此问题与Tiny MCE编辑器有关,当我取消选中“使用原始HTML编辑器”选项时,它会截断我的非HTML部分。以下是步骤:
<!--[if IE]>
和<!--[if !IE]> <!-->
<!--[if !IE]> <!-->
的HTML被截断,我猜是因为Tiny编辑器不会识别这些<!--[if IE]> and <!--[if !IE]> <!-->
并截断下面的内容。以下是我的HTML代码,供您轻松参考:
<!--[if IE]>
<object width="545" height="349" id="viddlerOuter-ba473db1" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param name="movie" value="//www.viddler.com/player/ba473db1/">
<param name="wmode" value="transparent" />
<param name="allowScriptAccess" value="always">
<param name="allowNetworking" value="all">
<param name="allowFullScreen" value="true">
<param name="flashVars" value="f=1&openURL=106922991&autoplay=f&loop=0&nologo=0&hd=0">
<object id="viddlerInner-ba473db1">
<video id="viddlerVideo-ba473db1" src="//www.viddler.com/file/ba473db1/html5mobile?openURL=106922991" type="video/mp4" width="545" height="307" poster="//www.viddler.com/thumbnail/ba473db1/" controls="controls" x-webkit-airplay="allow"></video>
</object>
</object>
<![endif]--> <!--[if !IE]> <!-->
<p>
<object id="viddlerOuter-ba473db1" width="545" height="349" type="application/x-shockwave-flash" data="//www.viddler.com/player/ba473db1/">
<param name="movie" value="//www.viddler.com/player/ba473db1/" />
<param name="wmode" value="transparent" />
<param name="allowScriptAccess" value="always" />
<param name="allowNetworking" value="all" />
<param name="allowFullScreen" value="true" />
<param name="flashVars" value="f=1&openURL=106922991&autoplay=f&loop=0&nologo=0&hd=0" />
<object id="viddlerInner-ba473db1">
</object>
</object>
</p>
<!--<![endif]-->
我已经尝试过的解决方法是: 1. Verify_HTML:false 2.清理:错误
但没有运气:(
希望有人能帮助我。
提前致谢 Amit Arora