开发者

ckEditor and jQuery what am I missing?

<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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜