how to use CKEditor 4.5.7 in a ASP.net project

跟風遠走 提交于 2021-01-28 04:59:02

问题


i am highly confused why i cannot intergrate the latest version of CKEditor in a ASP.net website. Which coding technologies is the 4.5.7 version comapible with (ie: php/jsp/ect)?

Isnt CKEditor for any HTML page?

Currently the latest ASP.net version is 3.6 which lacks support from many new plugins.


回答1:


I made a quick test:

  • download and decompress the .Net package from CKEdit site (3.6);
  • download the latest version of the javascript files (4.5.7);
  • check that the samples provided with the .Net package work fine;
  • rename the ckeditor folder in the solution and copy the new one downloaded from the site;
  • clean the solution and rebuild the projet, and check if it works fine;
  • replace the occurrences of the "kama" skin to the newer "moono" as the former one is replaced by the other in the 4.x version;
  • like this, it seems to be working just fine

Do you have specific issues I can look into?

HTH




回答2:


You add CKeditor.js javascript to your pages and call CKEDITOR.replace('id-of-textarea-here');

You don't need any ASP.NET specific packages.



来源:https://stackoverflow.com/questions/35350456/how-to-use-ckeditor-4-5-7-in-a-asp-net-project

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!