1.Download the ckeditor.zip file from http://ckeditor.com/, decompress to WebRoot, we can delete _samples, _source folder and some language js file in lang.
2.Use this code in index.jsp
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
request.setCharacterEncoding("utf-8");
String ckeditorContent = request.getParameter("ckeditor");
%>
<%=ckeditorContent%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
<title>My JSP 'index.jsp' starting page</title>
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<form action="index.jsp" method="post">
<textarea cols="80" id="ckeditor_kama" name="ckeditor"
rows="10">Hello World!</textarea>
<script type="text/javascript">
CKEDITOR.replace('ckeditor_kama',
{
//extraPlugins:'uicolor',
//toolbar:[['Bold','Italic','-','NumberedList','BulletedList','-','Link','Unlink'],['UIColor']],
uiColor:'#CCE8CF',
skin:'kama'
});
</script>
<input type="submit" value="submit" />
</form>
</body>
</html>
分享到:
相关推荐
ckeditor
把ckeditor 3.4的ckeditor.js复盖就行
最近项目开发需要用到CKEditor在线编辑器,但发现他本身没有自带,所以需要自己手动配置插件。但网上很多配置都有问题,自己摸索了好久终于搞定。需要注意的细节有:flvPlayer文件夹的内容直接放在ckeditor文件夹...
本插件源码来自互联网,由于源代码基于ckeditor3.6.61,故对源码进行过简单修改,以求适应ckeditor4.4.7
ckeditor
之前在网上下载的都不可以用,于是想尽办法发现是网上提供的是不支持最新的ckeditor.用法找见自己的ckeditor地址让后放到ckeditor/plugins/ 下,最后修改ckeditor/config.js,如果之前添加过工具则在 config....
ckeditor4.3.2
ckeditor插件工具,ckeditor插件工具,ckeditor插件工具,ckeditor插件工具,
ckeditor最新
ckeditor5-v30 全工具版 ,基本将免费的工具备齐了,源文件,可自行修改重新打包,node_modules 文件夹为包文件,该文件夹容量较大,在实际应用时可以删除,必须在网站模式使用,如:...该版本表格插件与微软的edge...
不错编辑器 最新版本ckeditor4.0 最新版本
ckeditor4音频视频上传自定义插件
ckeditor文件
直接在ckeditor的按钮中显示文件浏览按钮,点击后打开文件浏览窗口,上传或管理文件(必须安装ckfinder先) config.js中添加名为File的按钮 config.js中添加 ... 创建目录 ...ckeditor/skins/v2/file.gif
ckeditor 行间距插件
ckeditor file upload
用于最新CKEditor4.0的行距插件,不能用于CKEditor3.X.X及以前版本
CKeditor API 帮助文档 CHM版,CKeditor API 帮助文档 CHM版
ckeditor.rar
FLV视频格式具有本身占有率低、视频质量良好、体积小等特点,非常适合在网络...但是,在新版本的CKEditor里却没有FLV格式视频的支持。于是我自己动手开发CKEditor的FLV视频播放插件现在上传。PS:这个版本是.net版的。