Ejemplo n.º 1
0
 /// <summary>
 /// Returns html to render Ckeditor with the specified form name
 /// </summary>
 /// <param name="htmlHelper"></param>
 /// <param name="name"></param>
 /// <param name="config">A Ckeditor config object which can contain any setting mentioned here: http://docs.ckeditor.com/#!/api/CKEDITOR.config e.g. new { height = 500 }</param>
 /// <returns></returns>
 public static MvcHtmlString Ckeditor(this HtmlHelper htmlHelper, string name, object config = null)
 {
     return(htmlHelper.Editor(name, "Ckeditor", new { Config = config }));
 }