<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    當前訪問本站: hits

    yjhmily

    堅持走自己的路……

      BlogJava :: 首頁 :: 聯(lián)系 :: 聚合  :: 管理
      100 Posts :: 8 Stories :: 353 Comments :: 0 Trackbacks
    一個偶然的機會發(fā)現(xiàn)了FCKeditor,非常非常的不錯!


    FCKeditor是sourceforge.net上面的一個開源項目。
    一個強大的HTML文本編輯插件,主要實現(xiàn)了在線網(wǎng)頁編輯的功能!
    操作起來就跟MS WORD一樣簡單!
    據(jù)我所知,F(xiàn)CKeditor是目前互聯(lián)網(wǎng)上最好的編輯器,功能強大,支持多種瀏覽器,無平臺限制,可以和多種WEB語言融合,多語言支持,開源等~~


    下面是官方的介紹
    This HTML text editor brings to the web many of the powerful functionalities of desktop editors like MS Word. It's lightweight and doesn't require any kind of installation on the client computer.
    Because it is Open Source, you may use it however you want.

    FCKeditor is now a “must have” editor. This version is even more stable, with many important bug fixings and new features, including native support for Python. Important additions have been also made to the JavaScript API.
    With no doubts, FCKeditor is the most used web browser based text editor in the market, with almost 50,000 downloads monthly. This version comes to certify the quality and affordability of this project. Enjoy FCKeditor and have a Happy New Year!

    FCKeditor is compatible with most internet browsers which include: IE 5.5+ (Windows), Firefox 1.0+, Mozilla 1.3+ and Netscape 7+.? On the server side, FCKeditor offers a complete integration pack for: ASP.Net、ASP、PHP、ColdFusion、Java、Perl
    The editor runs over Windows, Mac and Linux operating systems.

    下載或者查看詳情請訪問:http://www.fckeditor.net;

    目前官方推薦的穩(wěn)定版本是FCKeditor 2.3.1,最近我在官方又看到已經(jīng)有了FCKeditor.Java 2.3版本了;
    對用JAVA開發(fā)的朋友來說無疑是再開心不過了!

    了解了該編輯器,下面再來看看具體應該怎么用吧!
    我是學java的,在自己的工程里面試用了用一下FCKeditor,感覺確實不錯,這里我簡單介紹一下
    (僅針對windows操作系統(tǒng)用Eclipse開發(fā)的java web工程)

    一、下載FCKeditor;

    ??? 需要下載兩個包:
    ??? 1、FCKeditor_2.3.1.zip?? 地址:http://www.fckeditor.net/download/default.html
    ???? ??? 2、FCKeditor-2.3.zip?? 地址:http://sourceforge.net/project/showfiles.php?group_id=75348&package_id=129511

    二、在Eclipse里面新建一個工程,然后把上面兩個包的部分文件(對你有用的)考進工程相應目錄,

    ??? 1、解壓縮FCKeditor-2.3.zip,在FCKeditor-2.3\web\WEB-INF\lib里面你會看到commons-fileupload.jar和FCKeditor-2.3.jar這兩個jar包,考入你工程里面的\workspace\yjhmily\WebRoot\WEB-INF\lib(yjhmily是我的工程名)中,其中commons-fileupload.jar已經(jīng)存在,覆蓋就行了!
    ??? 2、解壓縮FCKeditor_2.2.zip,在\FCKeditor_2.2\FCKeditor中你會看到一個editor文件夾,這里面放的是一些必須的HTML、JS、skin、images、css……等文件,將整個文件夾考入你工程里面的\workspace\yjhmily\WebRoot\FCKeditor\editor中,其中FCKeditor是我自己建的目錄,便與標識。當然,你也可以直接把editor文件夾考到WebRoot目錄下。
    ??? 3、將\FCKeditor_2.2\FCKeditor中的fckconfig.js、fckeditor.afp、fckeditor.cfc、fckeditor.cfm、fckeditor.js、fckeditor.lasso、fckstyles.xml、fcktemplates.xml全部考入\workspace\yjhmily\WebRoot\FCKeditor下。其實只要保證這些文件跟editor在同一目錄下就可以了!

    三、我的工程結構圖:

    fck.jpg

    四、一切OK,可以寫一個JSP頁面自己感受一下了。

    ??? 你只需要在JSP頁面中寫入以下這段代碼就可以調(diào)用FCKeditor編輯器了!跟使用Struts的標簽一樣方便。(FCKeditor-2.3.zip中有很詳細的例子)
    ???
    ??? <FCK:editor id="EditorDefault" basePath="/FCKeditor/"
    ??? ??? imageBrowserURL="/FCKeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/jsp/connector"
    ??? ??? linkBrowserURL="/FCKeditor/editor/filemanager/browser/default/browser.html?Connector=connectors/jsp/connector"
    ??? ??? flashBrowserURL="/FCKeditor/editor/filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/jsp/connector"
    ??? ??? imageUploadURL="/FCKeditor/editor/filemanager/upload/simpleuploader?Type=Image"
    ??? ??? linkUploadURL="/FCKeditor/editor/filemanager/upload/simpleuploader?Type=File"
    ??? ??? flashUploadURL="/FCKeditor/editor/filemanager/upload/simpleuploader?Type=Flash">
    This is some <strong>sample text</strong>. You are using <a >FCKeditor</a>.
    ??? </FCK:editor>???

    五、FCK效果圖

    pic.jpg


    以上只是我個人對FCKeditor的理解,希望各位網(wǎng)友指點。

    posted on 2006-09-21 11:28 kangxm 閱讀(4456) 評論(2)  編輯  收藏 所屬分類: 開發(fā)環(huán)境&工具

    Feedback

    # re: FCKeditor——強大的HTML文本編輯插件 2006-09-21 16:07 123bingbing
    這里是全新的競爭方式,讓你在無數(shù)的程序員中脫穎而出!www.mylinux.com  回復  更多評論
      

    # re: FCKeditor——強大的HTML文本編輯插件 2006-09-22 11:27 aladdin
    目前他上傳的路徑默認為war包的路徑,因此如果重新部署會將原來上傳的文件刪除,目前的做法是在服務器上配置一個虛擬路徑映射到實際路徑,不知道能不能在項目中指定虛擬路徑到實際路徑的映射,類似與jira?  回復  更多評論
      

    主站蜘蛛池模板: 久久久久亚洲?V成人无码| 毛片a级三毛片免费播放| 精品国产亚洲一区二区在线观看 | 国产不卡免费视频| 亚洲熟妇AV一区二区三区浪潮| 1000部拍拍拍18免费网站| 亚洲精品美女久久久久| 国产大片91精品免费观看不卡| 亚洲福利秒拍一区二区| 亚洲人成免费网站| 亚洲熟妇自偷自拍另欧美| 永久免费看bbb| 免费国产污网站在线观看不要卡| 亚洲国产成人久久综合野外| 9久热这里只有精品免费| 亚洲日产韩国一二三四区| 99re6在线精品视频免费播放| 国产精品免费大片| 亚洲午夜精品久久久久久人妖| 成人精品国产亚洲欧洲| 免费一级国产生活片| 一出一进一爽一粗一大视频免费的| 亚洲欧洲精品无码AV| 最近中文字幕完整版免费高清| 亚洲制服在线观看| 国产一级理论免费版| 在线观看人成视频免费无遮挡| 亚洲综合小说久久另类区| 免费被黄网站在观看| 一级毛片在线完整免费观看| 久久99国产亚洲精品观看| 国产卡一卡二卡三免费入口| 西西人体大胆免费视频| 国产精品久免费的黄网站| 亚洲jizzjizz在线播放久| 成人爱做日本视频免费| 亚洲国产aⅴ成人精品无吗| 夭天干天天做天天免费看| 一个人看的www视频免费在线观看| 亚洲综合亚洲国产尤物| 亚洲国产aⅴ综合网|