示例#1
0
 public static MvcHtmlString LiveEditor(LiveEditor editor)
 {
     return new MvcHtmlString(editor.FinalHtml);
 }
示例#2
0
 /// <summary>
 /// 将一个TextArea扩展为LiveEditor
 /// </summary>
 /// <param name="html"></param>
 /// <param name="editor">LiveEditor实例</param>
 /// <returns></returns>
 public static MvcHtmlString LiveEditor(this HtmlHelper html, LiveEditor editor)
 {
     return LiveEditor(editor);
 }