/// <summary> /// /// </summary> public Editor.Builder Editor(Editor.Config config) { #if MVC return(new Editor.Builder(new Editor(config) { ViewContext = this.HtmlHelper != null ? this.HtmlHelper.ViewContext : null })); #else return(new Editor.Builder(new Editor(config))); #endif }
/// <summary> /// /// </summary> public Builder(Editor.Config config) : base(new Editor(config)) { }
/// <summary> /// /// </summary> public Editor.Builder Editor(Editor.Config config) { return(new Editor.Builder(new Editor(config))); }