Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to integrate CKEditor into Asp.net MVC

Saw this post at CodeProject for FCKEditor. Can someone explain what about the new version?

like image 581
gkdm Avatar asked Dec 06 '09 19:12

gkdm


People also ask

How to use CKEditor in ASP net?

Add new ASP.NET page and register for CKEditor Tag By using following statement. Type CKEditor tag Inside DIV tag. Place one button and label on your ASP.NET Page. Write code on button for taking input from CKEditor 11 Save and Run project and your are done.

What is CKEditor replace?

The CKEditor 4 Find and Replace feature allows for finding and replacing any text in the editor easily. It helps the user find words, word parts or phrases matching the case of the searched text, which is especially helpful in lengthy documents and one that may utilize certain words in different contexts.


1 Answers

In MVC, you can not use CKEDITOR.DLL and its tags to, So you need to use ckeditor.js file.

Steps to use CKeditor in MVC3.

  1. Include the ckeditor.js file to the razor page.
  2. And then put CKEDITOR.replace( 'textAreaId' );
like image 92
DeepakJ Avatar answered Oct 06 '22 01:10

DeepakJ