Opened 13 years ago

Closed 13 years ago

#8220 closed Bug (invalid)

Renaming ckeditor.js file couse error

Reported by: djob Owned by:
Priority: Normal Milestone:
Component: General Version: 3.6.1
Keywords: Cc:

Description

Greetings,

after 5 hours of solving my ckeditor bug:

  • toolbar is undefined
  • m.lang.contectMenu is undefined

....

I found simple bug:

For purposes of my CMS i use custom js library names so i rename ckeditor.js into lib.ckeditor.core.js

After that nothing worked.

Obviously scripts have predefined min ckeditor file name.

My tree structure:

  • lib






.......

index.php

All files are successfully included.

If i missed something, please tell.

Change History (1)

comment:1 Changed 13 years ago by Jakub Ś

Keywords: ckeditor file rename core ckeditor removed
Resolution: invalid
Status: newclosed

Please read the http://docs.cksource.com/FCKeditor_3.x/Design_and_Architecture/SSI. Especially the "The CKEditor Path " section.

Before ckeditor.js (or lib.ckeditor.core.js ) is loaded a path to ckeditor installation folder has to be set:

<script type="text/javascript">
window.CKEDITOR_BASEPATH='http://localhost:8080/ckeditor_3.6.1/ckeditor/';</script>
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy