Posts

Showing posts from July, 2022

Ckeditor | Ckeditor with mvc | Ckeditor with mvc .net | easy way to add the ckeditor in the Asp.net mvc

As we know that blogging website is very easy to develop. But if you want to use text editor for blog post. It will be very tricky to work with this. Simply Blog post are written in plain text for storing on the database. If you want some dynamic type of Blog posts then you would make sure that you have a text editor like ckeditor. Editor helps to put the data into a format and then you can put it in a post as it is. So here you are able to use the given code for storing the ckeditor data into database. Keep in mind you will face many errors. So don't give up. try try again at last you will get achievement. So let's start Controller   // POST: Blogs/Create         [ValidateInput(false)]         [HttpPost]         public ActionResult Create(BlogTable blogTable)         {             if (ModelState.IsValid)             {                 try                 {                     // TODO: Add insert logic here                     db.BlogTables.Add(blogTable);