首选在Core DB 新建editor button
用using 包含所有 允许修改的字段
@using Sitecore.Mvc.Extensions
@using Sitecore.Mvc
<div>
test page
</div>
<div>
@using (Html.EditFrame("/sitecore/content/Home", "/sitecore/content/Applications/WebEdit/Edit Frame Buttons/TestEditor", "My custom title", "My custom tooltip", "cssClassName", null))
{
<p>@Html.Sitecore().Field("Title")</p>
}
</div>
这样就可以修改对应的字段值了