MVC中使用副文本编辑器ckeditor
来源:互联网 发布:10式狙击步枪 知乎 编辑:程序博客网 时间:2024/04/28 06:21
整理好的ckeditor的demo文件在QQ中30540789,或者到官网下载个demo
使用的几个点
1,导入demo文件后,引用JS<script type="text/javascript" src="/ckeditor/ckeditor.js"></script>
2,HTML中应用 <textarea class="ckeditor" cols="60" id="editorCont" name="editorCont" rows="10"></textarea>
3,后台获取值
/// <summary>
/// 增加业务信息
/// </summary>
/// <returns></returns>
[ValidateInput(false)]
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult BusinessAdd()
{
string content = Request.Form["editorCont"].ToString().Trim();
}
4,在web.config中<system.web>增加配置,配合上面的ValidateInput(false)] 使用
<httpRuntime requestValidationMode="2.0" />
- MVC中使用副文本编辑器ckeditor
- 文本编辑器CKEditor使用
- 副文本编辑器 网页编辑器
- 在线网页文本编辑器ckeditor的使用
- 富文本编辑器ckeditor的使用
- 富文本编辑器 CKeditor 配置使用
- ckeditor富文本编辑器的使用
- 富文本编辑器 CKeditor 的使用
- 前端富文本编辑器ckeditor的使用
- 页面文本编辑器 ckeditor的使用
- 富文本编辑器CKEditor的使用
- CKeditor富文本编辑器的使用
- CKeditor 在线文本编辑器
- 后台文本编辑器CkEditor
- Ckeditor在线文本编辑器
- ckeditor文本编辑器应用
- 富文本编辑器CKEditor
- ckeditor文本编辑器
- cocos2d-x Loading界面实现资源加载
- CSU队长的原创题 - 协会的账目 treap+优先队列
- E4
- 深入理解ARM体系架构(S3C6410)---S3C6410系统时钟
- ios 学习之 字体类型设置 倾斜加粗等
- MVC中使用副文本编辑器ckeditor
- 深入理解ARM体系架构(S3C6410)---S3C6410存储映射
- Android连接SQLServer详细教程(数据库+服务器+客户端)
- Android屏幕显示常用计量单位(Dimension)的介绍(px,in,mm,pt,dp,dip,sp)
- VS2008 窗口布局重置
- wikioi p1012 最大公约数和最小公倍数问题
- Anagrams
- POJ 1961 Period
- c++类继承中内存的布局