<html>
<head>
<script type="text/javascript" src="jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="ckeditor.js"></script>
<script type="text/开发者_JAVA技巧javascript" src="adapters/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#myeditor').ckeditor();
});
</script>
</head>
<body>
<div id="myeditor">
</div>
</body>
</html>
Nothing is displayed...
Have I missed something ? All the javascript/css files are in the right places..
Any ideas ??
Found the problem.
ckEditor requires the following files:
1) ckeditor.js 2) adapters/jquery.js 3) contents.css 4) cojnfig.js
I was missing (3) and (4)
Oh.. And if you want skins/images/themes.. You need the subdirectories also.
精彩评论