UEditor 编辑模板
阅读原文时间:2023年07月12日阅读:1

读取模板,放到ueditor中进行编辑

@model WeiXin_Shop.Models.WX_GoodsDetails
@Html.Partial("_MasterPage")

@{
ViewBag.Title = "Edit";
}

@using (Html.BeginForm())
{
@Html.ValidationSummary(true)
@Html.HiddenFor(model => model.id)

@Html.LabelFor(model => model.htmlStr) 模板:模板事例




        @Html.TextAreaFor(model => model.htmlStr, new { id = "editor", style = "width:100%;height:500px;" })  
    </div>  
</body>

}