Opened 10 years ago

Closed 7 years ago

#4700 closed Bug (invalid)

code/loader.js dependancy on env.js

Reported by: rmacfadyen Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0.1
Keywords: Cc:

Description

It looks like the loader.js module depends on env.js... but env.js hasn't been loaded yet. See http://cksource.com/forums/viewtopic.php?f=6&t=16631.

For some reason this affects custom skins (take an existing skin, rename it, and try to load... editor fails to load because CKEDITOR.env.ie is undefined.

Change History (2)

comment:1 Changed 9 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.x

Milestone CKEditor 3.x deleted

comment:2 Changed 7 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

I'm trying to create a custom skin with v3.01. To start I just copied the kama skin and renamed all occurrences of kama with "mycustomskin".

I haven't found error you were taliking about so you have probably made a mistake somewhere. Nevertheless I'm providing description explaining how to start with skin modification.

Taking the existing skin and changing all occurrences of old name to new is good technique. You have to change names in skin.js and all css files.

There are two techniques:

  1. Change skin.js and dialog.css, editor.css tamplates.css located in /ckeditor/skins/. This is the minified version so working with it may be hard but you won't have to build new release.
  2. Change skin.js and all css files located in /ckeditor/_source/skins/. In this case you will have nice files to work with but then you will have to minify it (maybe not have to but this is recommended) which means building new release.

Once you got it working, you can start customizing your skin.


To build new release:

Basic actions: You need to have java installed in your computer. For more information please visit: http://www.oracle.com/technetwork/java/index.html

Building a new release of CKEditor with your modifications: You need to have tortoiseSVN client installed on your computer. If you are not familiar with SVN please visit http://tortoisesvn.net/about.html and http://tortoisesvn.tigris.org/ for more information.

Once you have installed tortioseSVN you need to download CKEditor repository. Create E.g. C:\ckedtior_trunk, right-click on the folder, choose SVN checkout form menu and paste the http://svn.ckeditor.com/CKEditor/trunk into “URL of repository” filed.

Copy your new skin folder into appropriate directory in your local repository E.g. C:\ckedtior_trunk\_source\skins\

Go to ckeditor_trunk\_dev\releaser\ and double-click on release.bat (Win) or release.sh. (Linux)

New release with your file(s) will be created under C:\ckeditor_trunk\_dev\releaser\release directory.

You can use either use created release or copy the skin files to the release you are using.

More information on CKRelease can be found under: http://docs.cksource.com/FCKeditor_3.x/Design_and_Architecture/CKReleaser

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy