0

我不知道为什么,但突然 TinyMCE 停止显示。它在一定程度上起作用。它隐藏了文本区域,但没有显示 TinyMCE 界面。我没有收到任何 jQuery/Javascript 错误。我不确定发生了什么或如何开始尝试弄清楚。

这只是一个标准安装。我也有 jGrowl 和 Selectbox,最近对它们进行了更改。也许是那些造成的?

听说过它们会引起问题吗?

<script src="js/jquery.min.js" type="text/javascript"></script>

<!-- Load TinyMCE -->
<script type="text/javascript" src="js/tiny_mce/jquery.tinymce.js"></script>
<script type="text/javascript">
$(document).ready(function() { 
$('.tinymce').tinymce({
// Location of TinyMCE script
script_url : 'js/tiny_mce/tiny_mce.js',

// General options
theme : "advanced",
plugins : "autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,xhtmlxtras,template,advlist",

// Theme options
theme_advanced_buttons1 : "fullscreen,code,preview,print,cleanup,|,undo,redo,cut,copy,paste,pastetext,pasteword,|,search,replace,|,link,unlink,anchor,image,media,template",
theme_advanced_buttons2 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,outdent,indent,blockquote,|,fontsizeselectbullist,numlist",
theme_advanced_buttons3 : "tablecontrols,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,advhr,|,|,ltr,rtl,|,insertlayer,moveforward,movebackward,absolute",
theme_advanced_buttons4 : "styleselect,formatselect,fontselect,fontsizeselect,|,hr,|,forecolor,backcolor,|,styleprops,attribs",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true
});
});
</script>
<!-- /TinyMCE --></head>
<body>
<textarea name='body_content' rows="15" cols="80"  class="tinymce" style='height: 400px; width: 75%;'> 
</textarea>
</body>
4

0 回答 0