ckeditor4-sdk icon indicating copy to clipboard operation
ckeditor4-sdk copied to clipboard

Setting the current version of CKEditor in SDK should be more clear

Open wwalc opened this issue 10 years ago • 0 comments

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:

  1. Replace http://cdn.ckeditor.com/4.4.3/standard-all/ckeditor.js with http://cdn.ckeditor.com/%SDK_CKEDITOR_VERSION%/standard-all/ckeditor.js
  2. 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.)
  3. Change the build script (build.sh), setting there the default version number, but only if it wasn't passed from command line.

wwalc avatar Oct 06 '14 12:10 wwalc