二十四画生的Blog


        ——开始学习Orchard框架
随笔 - 125, 文章 - 8, 评论 - 1461, 阅读 - 85万
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

DNN中又一个好用的富文本编辑器(FCKEditor)

Posted on   二十四画生  阅读(12488)  评论(26编辑  收藏  举报

  一直都在关注DotNetNuke站点上的FCKeditor Provider项目,但是一直都没有看见有下载的位置。今天在他的论坛上发现连视频安装教程都出现了,原来FCKeditor Provider早有下载。

主要功能:
XHTML 1.0 Compliant (essential for CSS skins)
Programmable styles list to easily call classes from your skin.css file (essential for easily editing the layout of your text and images and creating clean code)
Custom editor options for configuring the display per instance / module / portal
Optional display of toolbars dependant on roles
Editor area CSS allows the editor to display the content styled exactly as it will look on the live web page
Cut, Paste and Paste as Plain Text, Undo and Redo
Paste from Word cleanup with auto detection
Right click in the editor area for quick access to an options menu

预览一下界面:

安装视频下载地址(需要注册):下载>>

FCKeditor Provider下载地址(需要注册):下载>>

  不过安装后还是有的不尽人意的地方,在显示中文的时候显示的是繁体中文而不是简体中文,去fckeditor官方网站查看发现它是支持简体中文的。看了一下Provider程序发现进行如下修改就可以支持简体中文了
将DSFCKEditorProvider文件夹下的DSFCK2HtmlEditorProvider.vb文件中的
cntlFck.DefaultLanguage = Left(System.Threading.Thread.CurrentThread.CurrentUICulture.Name, 2)
改为:cntlFck.DefaultLanguage = System.Threading.Thread.CurrentThread.CurrentUICulture.Name.ToLower()
然后重新编译一下就可以了。OK,终于显示的是简体中文了,现在看着舒服多了,如果有新的试用心得再和大家分享。

编辑推荐:
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· 写一个简单的SQL生成工具
· AI 智能体引爆开源社区「GitHub 热点速览」
· C#/.NET/.NET Core技术前沿周刊 | 第 29 期(2025年3.1-3.9)
点击右上角即可分享
微信分享提示