2006-05-08

fckeditor問題紀錄

使用fckeditor已經有一段時間,


不過還是沒有玩的很透...


下面就記錄一些fckeditor使用上遇到的問題及用法.


我使用的版本是FCKeditor 2.2 + FCKeditor.Net 2.2


你可以在fckeditor的官網上找到.




  1. 上傳中文檔名出現亂碼






    • 在檔案的頁面加入語系的標籤




    • 在(\FCKeditor\editor\filemanager\browser\default\frmupload.html)加入<meta http-equiv="content-type" content="text/html; charset=UTF-8">





  2. 快速上傳的功能無法使用



    • 修改fckconfig.js

    • FCKConfig.QuickUploadLanguage改為_QuickUploadLanguage





  3. 自訂檔案上傳的資料夾






    • 使用Application["FCKeditor:UserFilesPath"] 或是


      Session["FCKeditor:UserFilesPath"] 或是在web.config中設定


      <appSettings>


      <add key="FCKeditor:UserFilesPath" value="資料夾路徑" />


      </appSettings>




    • 套用的順序為application -> session -> web.config -> 預設值




    • 如果要使用session或是application的話,需要注意虛擬目錄跨資料夾的問題.





沒有留言:

在Hyper-V上跑ubuntu 22.04 Desktop, 裝完後一登入就凍住

如果你也遇到這情況, 你可以執行以下步驟 按 Ctrl+Alt+F3 進入 virtual console. (按Ctrl+Alt+F1 可以再回到GUI) 登入後執行下面指令 (更新kernel) * sudo add-apt-repository ppa:capp...