I am new to CKeditor, and am finding it difficult to implement CKeditor on an ASP.NET MVC5 site. I added the standard version of CKeditor to the development site in VS2013 using Nuget. I added the js files in a script bundle, and a view with a textarea. I have added jQuery and the jQuery adadptor, but putting a script of $("#mytextarea").ckeditor() does not work. I can get CKeditor working in VS2013 by adding the class ckeditor to the textarea. But when I uploaded the files to the production server, the textarea is not recognized as CKeditor.
I assume that I have not copied something important, but not sure what. I have uploaded the script files, views, applicaction binary and web.config files. I have tried explicitly adding a script for initiating CKeditor as per the Basic setup with CKEDITOR.replace('FollowUp'); but this makes no difference
Any help is apprciated
David Lane-Joynt
Problem sorted
The problem seems to be that I used a script bundle to add the js files. For me the simplest solution was to add the js files manually with <script src="@Url.Content("~/Scripts/ckeditor/ckeditor.js")"></script>
<script src="@Url.Content("~/Scripts/ckeditor//adapters/jquery.js")"></script>
I think I could also have specified the Editor Basepath .