Asp. Net FckEditor configuration in web. config

  • 2020-06-15 08:00:41
  • OfStack

1. fck configuration during website development:
1
< appSettings >
2
< add key="FCKeditor:BasePath" value="~/fckeditor/"/ >
3
< add key="FCKeditor:UserFilesPath" value="/[site name, e.g. OsChina]/Files/"/ >
4
< /appSettings >
2. Modify the fck configuration when publishing the website:
1
< appSettings >
2 www.ofstack.com
< add key="FCKeditor:BasePath" value="~/fckeditor/"/ >
3
< add key="FCKeditor:UserFilesPath" value="/Files/" / >
4
< /appSettings >
3. After the website is published to IIs, the uploaded picture needs to be re-transmitted once, otherwise the picture cannot be seen on the webpage
The structure of the website is: name of the website/other documents and folders
/Files
/Default.aspx
/web.config

Related articles: