tinyMCE 未加载

发布于 2024-12-28 19:22:18 字数 1368 浏览 7 评论 0原文

我一直在努力让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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

余生共白头 2025-01-04 19:22:18

你的代码没问题,我刚刚用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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文