目前网络中最好的在线编辑器应属FCKeditor了~
从其官方网站www.FCKeditor.net下载版本:2.6.5,解压后大小为:3.96MB,好多的文件我们用不着,以ASP为开发环境,精简一下~
在FCKeditor的目录下有:
2009-07-06 15:31 <DIR> _samples
2009-07-06 15:31 <DIR> editor
2009-07-06 10:10 1,262 _documentation.html
2009-07-06 10:10 1,359 _upgrade.html
2009-07-06 14:17 9,986 _whatsnew.html
2009-07-06 10:10 300,690 _whatsnew_history.html
2009-07-06 10:10 13,927 fckconfig.js
2009-07-06 15:29 4,307 fckeditor.afp
2009-07-06 10:10 6,508 fckeditor.asp
2009-07-06 10:10 8,830 fckeditor.cfc
2009-07-06 10:10 7,024 fckeditor.cfm
2009-07-06 15:29 9,608 fckeditor.js
2009-07-06 10:10 3,949 fckeditor.lasso
2009-07-06 10:10 994 fckeditor.php
2009-07-06 10:10 3,363 fckeditor.pl
2009-07-06 10:10 4,371 fckeditor.py
2009-07-06 10:10 6,182 fckeditor_php4.php
2009-07-06 10:10 6,156 fckeditor_php5.php
2009-07-06 10:10 13,201 fckpackager.xml
2009-07-06 10:10 3,450 fckstyles.xml
2009-07-06 10:10 2,959 fcktemplates.xml
2009-07-06 10:10 2,400 fckutils.cfm
2009-07-06 10:10 67,713 license.txt
注:橙色色标注的文件可以全部删除,绿色标注的文件可根据自己的开发环境选择留下,这里说的是ASP开发环境,所以绿色标注的文件也可以删除。
进入editor目录,其中文件有:
2009-07-06 15:31 <DIR> _source
2009-07-06 15:31 <DIR> css
2009-07-06 15:31 <DIR> dialog
2009-07-06 15:31 <DIR> dtd
2009-07-06 15:31 <DIR> filemanager
2009-07-06 15:31 <DIR> images
2009-07-06 15:31 <DIR> js
2009-07-06 15:31 <DIR> lang
2009-07-06 15:31 <DIR> plugins
2009-07-06 15:31 <DIR> skins
2009-07-06 15:31 <DIR> wsc
2009-07-06 10:10 4,086 fckdebug.html
2009-07-06 10:10 22,915 fckdialog.html
2009-07-06 10:10 12,436 fckeditor.html
2009-07-06 15:29 17,712 fckeditor.original.html
注:橙色标注的文件可以全部删除
进入lang目录,这里存放着不同国家的语言文件:
2009-07-06 10:10 2,705 _translationstatus.txt
2009-07-06 10:10 18,799 af.js
2009-07-06 10:10 22,602 ar.js
2009-07-06 10:10 24,984 bg.js
2009-07-06 10:10 28,089 bn.js
2009-07-06 10:10 20,197 bs.js
2009-07-06 10:10 19,574 ca.js
2009-07-06 10:10 19,210 cs.js
2009-07-06 10:10 18,430 da.js
2009-07-06 10:10 19,199 de.js
2009-07-06 10:10 25,850 el.js
2009-07-06 10:10 17,915 en.js
2009-07-06 10:10 17,985 en-au.js
2009-07-06 10:10 17,984 en-ca.js
2009-07-06 10:10 17,990 en-uk.js
2009-07-06 10:10 19,252 eo.js
2009-07-06 10:10 19,483 es.js
2009-07-06 10:10 18,648 et.js
2009-07-06 10:10 19,231 eu.js
2009-07-06 10:10 23,563 fa.js
2009-07-06 10:10 18,686 fi.js
2009-07-06 10:10 19,132 fo.js
2009-07-06 10:10 19,516 fr.js
2009-07-06 10:10 19,669 fr-ca.js
2009-07-06 10:10 19,839 gl.js
2009-07-06 10:10 29,934 gu.js
2009-07-06 10:10 21,236 he.js
2009-07-06 10:10 28,806 hi.js
2009-07-06 10:10 18,493 hr.js
2009-07-06 10:10 20,032 hu.js
2009-07-06 10:10 18,581 is.js
2009-07-06 10:10 19,363 it.js
2009-07-06 10:10 21,278 ja.js
2009-07-06 10:10 28,759 km.js
2009-07-06 10:10 19,282 ko.js
2009-07-06 10:10 20,064 lt.js
2009-07-06 10:10 20,260 lv.js
2009-07-06 10:10 23,743 mn.js
2009-07-06 10:10 19,331 ms.js
2009-07-06 10:10 18,208 nb.js
2009-07-06 10:10 19,013 nl.js
2009-07-06 10:10 18,200 no.js
2009-07-06 10:10 19,351 pl.js
2009-07-06 10:10 19,971 pt.js
2009-07-06 10:10 19,793 pt-br.js
2009-07-06 10:10 21,170 ro.js
2009-07-06 10:10 25,771 ru.js
2009-07-06 10:10 19,405 sk.js
2009-07-06 10:10 18,879 sl.js
2009-07-06 10:10 23,773 sr.js
2009-07-06 10:10 19,112 sr-latn.js
2009-07-06 10:10 18,408 sv.js
2009-07-06 10:10 31,244 th.js
2009-07-06 10:10 19,125 tr.js
2009-07-06 10:10 25,723 uk.js
2009-07-06 10:10 20,830 vi.js
2009-07-06 10:10 17,759 zh.js
2009-07-06 10:10 17,648 zh-cn.js
注:橙色标注的文件可以全部删除
返回上一级目录,进入skins目录,这里存放着皮肤文件:
2009-07-06 15:31 <DIR> default
2009-07-06 15:31 <DIR> office2003
2009-07-06 15:31 <DIR> silver
2009-07-06 10:10 3,100 _fckviewstrips.html
注:橙色标注的文件可以全部删除,绿色标注的文件夹可根据自己的喜好保留,本人觉得default风格需要加载的编辑器图片比较小,所以将绿色标注的文件夹删除。
退回上一级目录进入filemanager文件夹,有browser和connectors两个文件夹。进入connectors文件夹:
2009-07-06 15:31 <DIR> asp
2009-07-06 15:31 <DIR> aspx
2009-07-06 15:31 <DIR> cfm
2009-07-06 15:31 <DIR> lasso
2009-07-06 15:31 <DIR> perl
2009-07-06 15:31 <DIR> php
2009-07-06 15:31 <DIR> py
2009-07-06 10:10 5,672 test.html
2009-07-06 10:10 5,580 uploadtest.html
注:橙色标注的文件可以全部删除,绿色标注的文件夹可根据自己的需要保留。
退回到filemanager文件夹,这里尚有plugins的文件夹,放置的是插件,如果不需要,也可以删除;本人弄不清都是什么,先保留。
至此,我们大约删掉了多半的文件,精简后比原来容量小了许多,约为1.2M。