开发者

ckEditor and jQuery what am I missing?

开发者 https://www.devze.com 2023-01-11 10:01 出处:网络
<html> <head> <script type=\"text/javascript\" src=\"jquery-1.4.2.min.js\"></script>
<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

精彩评论

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

关注公众号