ja_mageia


 


本站遵守 Creative Commons License 许可 转载时务必以超链接形式标明文章原始出处和作者信息 
  • Narrow screen resolution
  • Wide screen resolution
  • Increase font size
  • Decrease font size
  • Default font size
Home IT Knowledge Joomla TinyMCE:Joomla 1.51 增加 Font Size box(字体大小)
Joomla
TinyMCE:Joomla 1.51 增加 Font Size box(字体大小) PDF Print E-mail
(2 votes, average 4.50 out of 5)
Written by Administrator   
Sunday, 09 March 2008 09:01
Joomla 1.5.x 自带的编辑器 TinyMCE兼容性非常好,但是使用起来不够人性化,比如常用的文字大小选择框被隐藏在CSS 样式按钮中。

Joomla 官方论坛上一位名叫tristancliffe的会员提供了简单的修改方法。
编辑  joomla/plugins/editors/tinymce.php
找到以下代码
theme_advanced_buttons1_add : \"fontselect\",
theme_advanced_buttons2_add : \"$buttons2\",
theme_advanced_buttons3_add : \"$buttons3\",

修改为
theme_advanced_buttons1_add : \"fontselect,fontsizeselect\",
theme_advanced_buttons2_add : \"$buttons2\",
theme_advanced_buttons3_add : \"$buttons3,backcolor\",

fontsizeselect就是字体大小选择框,backcolor是文字背景选择框,你自己可以另外添加多个按钮。

Last Updated on Sunday, 08 February 2009 07:13
 

Add comment


Security code
Refresh

Login Form



Who's Online

We have 3 guests online