将CKEditor与JSP集成 [英] Integrating CKEditor with JSP
问题描述
我正在尝试将 CKEditor 与JSP页面( Demo )。我已从这里在CKEditor for Java 部分下载了jar文件,并添加了 ckeditor-java-core-3.5.3.jar
文件到项目库。我正在关注此安装指南,但下载的zip文件夹不包含客户端侧脚本。
I'm trying to integrate a CKEditor with a JSP page (Demo). I have downloaded jar files from here in the CKEditor for Java section and added the ckeditor-java-core-3.5.3.jar
file to the project library. I'm following this installation guide but that downloaded zip folder contains no client-side scripts.
在下载zip按钮旁边提到注意:客户端脚本不包括在此包中 下载页面上的CKEditor for Java 部分。那么,他们在哪里可用,无处?有没有其他CKEditors(或FCKEditors)可用于JSP集成?
It is mentioned there "Attention: client side scripts are not included in this package." beside the Download zip button of the CKEditor for Java section on the download page. So, where are they available, nowhere? Are there other CKEditors (or FCKEditors) available for JSP to integrate?
推荐答案
这是因为您正在安装Java版本CKEditor,因此您的编辑器将通过<%@ taglib uri =http://ckeditor.comprefix =ckeditor%>
等标签配置,而不是
That is because you're installing the Java version of CKEditor, so your editor will be configured through tags like <%@ taglib uri="http://ckeditor.com" prefix="ckeditor" %>
rather than with scripts.
如果您要使用完整脚本编辑器,请下载第一个zip 此处(仅命名为 CKEditor
)并按照说明此处。
If you want to use the full script editor, download the first zip here (Named just CKEditor
) and follow the instructions here.
我最近在我正在处理的项目中使用它,并且没有问题,即使通过使用jQuery。
I've recently used it in a project I'm working on and had no problems with it, even through the use of jQuery.
这篇关于将CKEditor与JSP集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!