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 很完美。 有人可以帮我吗...
i have been trying very hard to make tinyMCE work on my page. even a simple example like the below is not working.. i have tried in all the browsers..
<!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>
i have checked the link for javascript and tat is perfect.
can some one pls help me...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你的代码没问题,我刚刚用3.4.7版本测试过,
在以下位置查找缺少的插件:javascripts/tinymce/jscripts/tiny_mce/plugins
Your code is fine, i just tested with version 3.4.7,
look for missing plugins in: javascripts/tinymce/jscripts/tiny_mce/plugins