2013年12月20日
摘要: 在你需要使用editor控件的页面头部添加: ... 在页面相应位置上添加:注意:js代码一定要写在textarea后 其实可以这样理解editor控件只是对textarea做了一个漂亮的包装,我们的输入其实都在上面的texarea中,最终也是通过textarea 提交到服务器端。知道这些,服务器端代码就太简单了:[AcceptVerbs(HttpVerbs.Post)] [ValidateInput(false)]public ActionResult Create(FormCollection collection) { blog.Content = collection["e. 阅读全文
posted @ 2013-12-20 10:35 smallerpig 阅读(323) 评论(0) 推荐(0)