二十四画生的Blog


        ——开始学习Orchard框架
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

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

Posted on 2006-04-07 12:29  二十四画生  阅读(12466)  评论(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,终于显示的是简体中文了,现在看着舒服多了,如果有新的试用心得再和大家分享。