Saving Data in CKEditor Replacing a Textarea Documentation. A textarea element is replaced with classic editor using the CKEDITOR.replace method.
Attention, Internet Explorer UserAnnouncement: Oracle Community has discontinued support for Internet Explorer 7 and below.In order to provide the best platform for continued innovation, Oracle Community no longer supports Internet Explorer 7.Oracle Community will not function with this version of Internet Explorer. Please consider upgrading to a more recent version of Internet Explorer, or trying another browser such as Firefox, Safari, or Google Chrome.(Please remember to honor your company's IT policies before installing new software!).
This solution worked for me as I had similar issue.In your controller, when saving the note you would do something likeentity.Note = HttpUtility.HtmlEncode(model.Note.Replace(Environment.NewLine, ' '));Then when displaying in your view you could do something like @(new HtmlString(HttpUtility.HtmlDecode((note.Note1)))) That should work, I did not compile this/pull this from existing code so you may have to tweak it to meet your needs. But it should hopefully steer you in the right direction.
![Textarea value Textarea value](/uploads/1/2/4/0/124088552/597514046.jpg)
When answering a question please:. Read the question carefully. Understand that English isn't everyone's first language so be lenient of badspelling and grammar. If a question is poorly phrased then either ask for clarification, ignore it, oredit the question and fix the problem. Insults are not welcome.
Don't tell someone to read the manual. Chances are they have and don't get it.Provide an answer or move on to the next question.Let's work to help developers, not make them feel stupid.