在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
http://www.cnblogs.com/esshs/archive/2008/12/03/1346326.html FCKeditor下载路径: <script type="text/javascript"> window.onload = function() { var oFCKeditor = new FCKeditor( 'MyTextarea' ) ; oFCKeditor.BasePath = "/FCKeditor/" ; oFCKeditor.ReplaceTextarea() ; } </script> <textarea >This is <b>the</b> initial value.</textarea> 使用方法:参考 http://www.oklinux.cn/html/developer/php/jq/20070526/26849.html http://blog.imwebs.com/article.asp?id=322 http://sourceforge.net/projects/fckeditor/files/FCKeditor.Net/ 下载FCKeditor_2.6.7zip 在ASP.net mvc开发中使用纯html如何创建FCKeditor编辑器控件 步骤: 1.在官网下载 FCKeditor_2.6.6.zip 2.解压缩后添加现有项目到webSite目录下 3.使用JavaScript创建 <script type="text/javascript" src="/Scripts/FCKeditor_2.6.6/fckeditor/fckeditor.js"> if (typeof (FCKeditorAPI) == 'undefined') { var FCKeditor = new FCKeditor("KnowBaseContent"); } else { FCKeditor.ReplaceTextarea(); } FCKeditor.ToolbarSet = "Basic"; FCKeditor.Height = 400; FCKeditor.ReplaceTextarea(); </script> 4. 进入FCKeditor文件夹,编辑 fckconfig.js 文件 修改 FCKeditor.BasePath = '/fckeditor/' ; 改为 FCKeditor.BasePath = '/Scripts/FCKeditor_2.6.7/fckeditor/'; 修改 FCKConfig.ToolbarSets["Basic"] = [ 改为 FCKConfig.ToolbarSets["Basic"] = [ 5.http://sourceforge.net/projects/fckeditor/files/FCKeditor.Net/ 下载FCKeditor_2.6.7zip 解压后把FCKeditor.Net_2.6.7\bin\Release\2.0目录下的FredCK.FCKeditorV2.dll添加引用到webSite中 6.config.ascx中的CheckAuthentication()方法返回true 7.在fckconfig.js中修改此变量给工具栏瘦身 FCKConfig.ToolbarSets["Basic"] = [ 链接地址:https://files.cnblogs.com/wuhuisheng/FCKeditor.zip 包括所需dll包 IE9下不支持FCKeditor fckeditor/editor/js/fckeditorcode_ie.js 找到第38行的这个方法:FCKTools.RegisterDollarFunction 另外如果你的系统是xp,暂时IE9还是不能够用在xp系统上的,微软开发这个为了在win7上面使用的 |
请发表评论