Reputation: 2919
Here is my problem.
I have solution which uses customized version of CKEditor. In the solution I also have both full and minified version of CKEditor made month ago. Now, I want to make few more customizations of CKEditor, but I have a problem.
How can I create minified version of CKEditor by using full source code of CKBuilder on my machine? What do I need to download and where to copy it on my machine so that I can create minified version?
I was reading several posts stating that I need to clone git repository which contains build.sh script and then use CKBuilder tool. Problem is that I don't want to use GIT version of CKEditor source code, I want to use mine and I want it minified.
Any help on that?
Upvotes: 3
Views: 461
Reputation: 5560
Download the version of CKBuilder that was valid for your version of CKEditor: http://download.cksource.com/CKBuilder/. Which version was valid might be checked by viewing build.sh in the ckeditor-dev repository, of course make sure to switch to the proper tag first because the link I gave is to the latest version.
By looking at the same file figure out how to run CKBuilder (java -jar ckbuilder.jar [OPTS]
). If you run it without args, it will display the list of available commands.
CKBuilder requires build-config.js
to know which plugins to use, so make sure you have such. You can take the inspiration from the ckeditor-presets repository.
Upvotes: 3