我一直在努力让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的链接是完美的。 有人可以帮助我...
答案 0 :(得分:0)
您的代码很好,我刚刚使用3.4.7版进行了测试, 寻找缺少的插件:javascripts / tinymce / jscripts / tiny_mce / plugins