所以我正在研究这个 TinyMCE javascript,它应该很简单,但这是交易。当我查看我的页面源代码时,这就是我所看到的
<script type="text/javascript">
<!--
tinyMCE.init({
mode : "exact",
elements : "content",
theme : "advanced",
skin : "o2k7",
skin_variant : "blue",
plugins : "advimage,advlink,contextmenu,fullscreen,inlinepopups,nonbreaking,paste,preview,print,safari,style,table",
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,fontselect,fontsizeselect,|,forecolor,backcolor",
theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,bullist,numlist,|,undo,redo,|,link,unlink,anchor,image,|,hr,removeformat,visualaid",
theme_advanced_buttons3 : "tablecontrols,|,preview,print,fullscreen,code",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
fullscreen_new_window : true
});
// -->
</script>
有人可以向我解释为什么我的浏览器(FF 和 IE)会在我的脚本周围添加评论吗?脚本似乎可以正常工作...