using ckeditor does not work: when I click the path, it isn't going to the related file

本秂侑毒 提交于 2019-12-08 09:23:40

问题


I want to use ckeditor in a web page created in spring mvc 3.1. It is maven project. I downloaded required files from http://ckeditor.com/download. I added taglib

<%@ taglib uri="http://ckeditor.com" prefix="ckeditor" %>

on the head section.

In form, I wrote the code below. path="aciklama" is the property of my class. I want to bind data retrieved from ckeditor.

form method="post" modelAttribute="my class name">
.......
.....
<form:textarea cols="80" id="editor1" name="editor1" rows="10" path="aciklama"></form:textarea>
</form>
<ckeditor:replace replace="editor1" basePath="/ckeditor/" />
</body>

I also added these scripts, but it did not work:

<script type="text/javascript" src="/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="/ckeditor/adapters/jquery.js"></script>

When I click the path, it isn't going to the related file. My ckeditor folder is under webpages. When I pass through files tab, It is shown under the webapp folder.


回答1:


You can use this link for the reference

May be you have path problem i.e it is unable to find your ckeditor.js



来源:https://stackoverflow.com/questions/19764992/using-ckeditor-does-not-work-when-i-click-the-path-it-isnt-going-to-the-relat

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