ckeditor4-sdk
ckeditor4-sdk copied to clipboard
Setting the current version of CKEditor in SDK should be more clear
Right now we keep a hardcoded reference to ckeditor.js
loaded from CDN in simplesample.js
. It makes using the current version of CKEditor in generated builds a bit hard.
One of possible solutions could be:
- Replace
http://cdn.ckeditor.com/4.4.3/standard-all/ckeditor.js
withhttp://cdn.ckeditor.com/%SDK_CKEDITOR_VERSION%/standard-all/ckeditor.js
- Accept the version number of CKEditor as a parameter for app.js and force it to look for all occurences of
%SDK_CKEDITOR_VERSION%
in source files and replace it with given version (do not search in vendor folders etc.) - Change the build script (
build.sh
), setting there the default version number, but only if it wasn't passed from command line.