我一直在努力使tinyMCE在我的頁面上工作。甚至像下面一個簡單的例子不工作..我在所有的瀏覽器都試過..tinyMCE不加載
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>index page</title>
</head>
<body>
<script type="text/javascript" src="javascripts/tinymce/jscripts/tiny_mce/tiny_mce.js" >
</script>
<script
type = "text/javascript" >
tinyMCE.init({
mode : "textareas",
theme : "simple",
plugins : "autolink,lists,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template"
});
</script>
<form method="post" action="somePage.php">
<textarea name="textAreaContent" style="width:100%">
This is some content that will be editable with TinyMCE.
</textarea>
<br />
<button type="submit">Submit</button>
</form>
</body>
我檢查了鏈接,javascript和TAT是完美的。 可以有一個人請幫助我...
什麼意思「不工作「? TinyMCE不會初始化?你只有文本在裏面textarea?或者它不是以你認爲的方式進行初始化?或者你得到錯誤?我已經測試了3.3.9和3.4.7版本(Firefox 9,IE 8)的例子,並且一切正常。你使用哪個版本? – BartekR
嘗試初始化沒有任何插件(插件:'',),看看是否有幫助 – Thariama