Last post Jun 05, 2014 03:57 AM by Chris17
Jun 04, 2014 09:40 AM|Chris17|LINK
I am trying to make an application for articles. How do I get the formatted data on the text editor just like the one in this forum for creating post and submit it to the database. Thanks.
Jun 04, 2014 09:44 AM|Mikesdotnetting|LINK
Use a Rich Text Editor like CKEditor or
When you reference the content in the Request collection, use Request.Unvalidated() e.g.
var myHtmlContent = Request.Unvalidated("MyTextArea");
Jun 04, 2014 09:49 AM|Chris17|LINK
Thank you. Do you know any editor that supports inline text formatting like http://editor.froala.com/. Couldnt use that because of license.
Jun 04, 2014 10:09 AM|mhcodner|LINK
Do you know any editor that supports inline text formatting like http://editor.froala.com/.
What do you mean by inline text formatting?
I see no difference (besides UI) between Mike's suggestions, 2 of the most popular WYSIWYGs, and your example.
Jun 04, 2014 10:29 AM|Chris17|LINK
Visit the link and scroll down to the header "click and edit". Highlight ant text there and see what happens
Jun 05, 2014 01:35 AM|Starain chen - MSFT|LINK
Yes, I found that it will show the small modal dialog box when select the text.
For this issue, I suggest that you should create a new thread.
Jun 05, 2014 03:57 AM|Chris17|LINK
Ok Thanks. TinyMCE does that. See http://www.tinymce.com/wiki.php/Inline