我们的空间用的编辑器是fck的 当然经过百度的处理了

要仿照(关键在于看看fck的可变性)这样一个比较简洁的功能界面 可以做如下改变
基础的改变是fckconfig.js和editor/fckeditor.html文件
可以新建两个工具界面配置
FCKConfig.ToolbarSets["Mybasic"] = [
['Bold','Italic','-','Link','Unlink','Image','-','FontSize','TextColor','-']
] ;
FCKConfig.ToolbarSets["Myall"] = [
['Bold','Italic','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','-','Link','Unlink','Image','-','FontName','FontSize','TextColor','BGColor','-']
] ;
然后在fckeditor.html中script中加入
function chang(ToobarStyle){
var a = document.getElementById("sptool");
var b = document.getElementById("alltool");
if(ToobarStyle == 'Mybasic'){
ToobarStyle = 'Mybasic';
a.style.display = "none";
b.style.display = "inline";
}else{
ToobarStyle = 'Myall';
a.style.display = "inline";
b.style.display = "none";
}
FCK.ToolbarSet.Load(ToobarStyle || 'Mybasic');
}
表格中改成