Hi flashiedirk,
I think you just did not use the correct method to get the editor content. Refer to the output_xhtml demo page. you can set the EncodeHiddenValue property for it and test it. the demo will output the correct code in the page. If it works for you too, please use the same way to get the editor content.
public ActionResult output_xhtml()
{
Editor Editor1 = new Editor(System.Web.HttpContext.Current, "Editor1");
Editor1.ClientFolder = "/Scripts/richtexteditor/";
Editor1.EncodeHiddenValue = true;
Editor1.MvcInit();
ViewBag.Editor = Editor1.MvcGetString();
return View();
}
[HttpPost]
public ActionResult output_xhtml(string m = "")
{
Editor Editor1 = new Editor(System.Web.HttpContext.Current, "Editor1");
Editor1.ClientFolder = "/Scripts/richtexteditor/";
Editor1.EncodeHiddenValue = true;
string content = Request.Form["Editor1"];
if (!string.IsNullOrEmpty(content))
{
Editor1.LoadFormData(content);
ViewBag._content = Editor1.XHTML;
}
Editor1.MvcInit();
ViewBag.Editor = Editor1.MvcGetString();
return View();
}
Regards,
Ken