只是将当前内容String当成Html插入,我想是跟数据类型转换差不多
//把内容赋值给ueditor
var ue = UE.getEditor('editor');//实例化
ue.ready(function() {//加载时
ue.setContent( '@Html.Raw(Model.Content)');//后台传值前端
});
只是将当前内容String当成Html插入,我想是跟数据类型转换差不多
//把内容赋值给ueditor
var ue = UE.getEditor('editor');//实例化
ue.ready(function() {//加载时
ue.setContent( '@Html.Raw(Model.Content)');//后台传值前端
});