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 是完美的。有人可以帮我吗...

4

1 回答 1

0

您的代码很好,我刚刚使用 3.4.7 版本进行了测试,在以下位置查找缺少的插件:javascripts/tinymce/jscripts/tiny_mce/plugins

于 2012-01-24T13:31:05.123 回答