在我的页面上安装tinymce

在我的页面上安装tinymce,tinymce,Tinymce,我已经安装了tinymce。基本上,当我进入cms时,我会进行更改。例如,使文本变为红色。在编辑页面中,它工作正常,但当我进入我的网站时,更改不会出现。此外,当我在cms中单击submit,然后通过单击edit重新编辑内容时,更改就消失了。好像我从未尝试过改变任何事情。我是一名集成商,因为我才刚刚起步,不是一名程序员,所以我很难理解我遗漏了什么或我做错了什么 编辑:我可以使用粗体工具,效果很好。但举例来说,着色似乎不起作用。我的文字不会保持红色: 这是我在编辑页面上的代码: <head&g

我已经安装了tinymce。基本上,当我进入cms时,我会进行更改。例如,使文本变为红色。在编辑页面中,它工作正常,但当我进入我的网站时,更改不会出现。此外,当我在cms中单击submit,然后通过单击edit重新编辑内容时,更改就消失了。好像我从未尝试过改变任何事情。我是一名集成商,因为我才刚刚起步,不是一名程序员,所以我很难理解我遗漏了什么或我做错了什么

编辑:我可以使用粗体工具,效果很好。但举例来说,着色似乎不起作用。我的文字不会保持红色:

这是我在编辑页面上的代码:

<head>
<script src="../tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>

</head>

<body>

<script>


    tinyMCE.init({
        // General options
        mode : "textareas",
        theme : "advanced",
        skin : "o2k7",
        plugins : "autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups,autosave",

        // Theme options
        theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
        theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
        theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
        theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "left",
        theme_advanced_statusbar_location : "bottom",
        theme_advanced_resizing : true,
    });
</script>

这可能是因为tinymce使用的方法为部分文本着色。 使用firebug或类似的工具来查看tinymce是如何设计它的,以及你在网站上看到了什么。他们俩之间会有区别