Need a ckeditor for MVC 4

Posted on 2013-10-03
Medium Priority
Last Modified: 2013-10-18
  Does anyone have a website or a good tutorial on where I can learn ckeditor for mvc4? I am new to it and I have to learn it fast. There are several sites out there but they are not that good.
                        Thanking you in advance
Question by:vcurtis
LVL 13

Expert Comment

by:Jitendra Patil
ID: 39545740
Try the below link
CKEditor example in ASP.NET MVC 3, MVC 4 application.

hope this helps.
LVL 19

Accepted Solution

Manoj Patil earned 2000 total points
ID: 39545993
It's pretty easy to do actually. First download the latest code from the website and extract it to a directory in your project (I choose /Scripts/ckeditor). Then in your view, use the same code as in the "complete sample" in this link and it should work.

Basically, the important steps are:

    Make sure you include the ckeditor.js file in the head from your view or in your master page, however you want to do it. This needs to be the exact location within your project (I would use the find file dialog that you can popup when editing a src attribute in visual studio so that it automatically links to the file).

    Place the:

    <script type="text/javascript"> CKEDITOR.replace( 'editor1' ); </script>

    RIGHT AFTER your textarea and make sure the id of the textarea is the same in the CKEDITOR.replace() statement.

Author Closing Comment

ID: 39583510
This gave me the direction I needed to move forward. Thanks

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
An ASP.NET Web Form User Control is not newly introduced in ASP.NET. In fact, it was an old technology yet still playing a role to generate web content, especially when we want to use it to have a better and easy way to control part of the web conte…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
The video will let you know the exact process to import OST/PST files to the cloud based Office 365 mailboxes. Using Kernel Import PST to Office 365 tool, one can quickly import numerous OST/PST files to Office 365. Besides this, the tool also comes…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question