joomla的tinymce编辑。安装插件

时间:2012-10-23 19:29:17

标签: plugins joomla tinymce

我为Joomla下载了一个tinymce编辑器插件。我已经将所有文件粘贴在Joomla下的tinymce插件文件夹中。之后,自述文件声称:

Then in the tinymce init function make sure you include the Bold lines.

<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced",
theme_advanced_toolbar_location : "top",
auto_resize:false,
extended_valid_elements: "textarea[name|class|cols|rows]", 
remove_linebreaks : false, 
width:720,
plugins : 'preview,codehighlighting',
theme_advanced_toolbar_align : "right",
theme_advanced_buttons1_add : " fontselect,fontsizeselect,zoom",
theme_advanced_buttons2_add : "preview,separator,forecolor,backcolor",
theme_advanced_buttons3_add_before : "tablecontrols, codehighlighting"

});
</script>

我需要在哪里粘贴该代码?

2 个答案:

答案 0 :(得分:2)

在您提供的网站上写的说明写得不好因此我不太确定您在问题中插入代码的位置。

我个人会使用Code Highlighter Joomla扩展程序。我们在我们的网站上使用了他,它就像一个魅力。

答案 1 :(得分:2)

您需要将此类代码放置在存储/读取您的tinymce配置的位置。 要找出它的位置 - here is a tutorial with detailed explanations.

相关问题