I am trying to use TinyMCE on the fronted of my website but i have problem when i make post request which dosent pass custom validation and than I return CurrentUmbracoPage whcih ruin my encoded text in RTE.
This is how it looks before post request:
And after post request which Return CurrentUmbracoPage:
This is my model:
[UIHint("tinymce_jquery_full"), AllowHtml]
public string Text { get; set; }
Return CurrentUmbracoPage remove encoded text
I am trying to use TinyMCE on the fronted of my website but i have problem when i make post request which dosent pass custom validation and than I return CurrentUmbracoPage whcih ruin my encoded text in RTE.
This is how it looks before post request:
And after post request which Return CurrentUmbracoPage:
This is my model:
This is how i render text in RTE:
It would solve my problem if i could have model property of type IHtmlString, but cant get it work.
is working on a reply...