版权声明:版权所有,需要请联系作者 https://blog.csdn.net/weixin_42930928/article/details/83687519
在使用ASP.NET MVC 5 的过程中,在使用富文本编辑器过程中,出现如标题中的错误提示。网上找了一些解决方法。大多就是以mvc3,mvc4为版本的解决方案。在mvc5的controller的action方法头部添加就可以解决
[ValidateInput(false)]
另外推荐一个好用的富文本编辑器:
原地址github:https://github.com/wangfupeng1988/wangEditor
Fork地址gitee:https://gitee.com/sesametech-group/wangEditor
希望对大家有帮助。