I am looking for a text editor for my asp.net mvc project. I was able to find a lot of text editor out there works pretty well.
What I am looking for is a editor that accept only regualr character like “I am a superman”.
I do not want to save “<p><strong>I am a superman</strong></p>” into my SQL table since I have to show it thru textbox(example : <%= Html.TextBox("Remark", Model.empExperience.Remark)%>).
Let me know.
Seeing as you do not wish to allow HTML, your best bet is to simply have a means of stripping HTML from the provided input. There’s no need to implement a custom text editor for this sort of thing.
Have a look at: How can I strip HTML tags from a string in ASP.NET?