Problem/Motivation
As a developer I would like to be able to dig into CKEditor JavaScript source code to debug issues and submit patches upstream. Currently it is a minified ckeditor.js file.
If I use the builder at http://ckeditor.com/builder and upload the core/assets/vendor/ckeditor/build-config.js file and download the "Source (Big N’Slow)" 4.4.7 version and replace core/assets/vendor/ckeditor with that and reload the page I get a faulty body field with no CKEditor loaded and the console has 2 errors.
GET http://sandbox/d8/core/assets/vendor/ckeditor/plugins/image2/plugin.js
Uncaught [CKEDITOR.resourceManager.load] Resource name "image2" was not found at "http://sandbox/d8/core/assets/vendor/ckeditor/plugins/image2/plugin.js resourcemanager.js:212 ".
I feel like some developers may have been debugging this for a while now and may have some documentation to do this? I have looked so far but cannot find any.
I can totally figure this out but figured I would save sometime if someone else has already been down this path.
Comments
Comment #1
elijah lynnComment #2
elijah lynnComment #3
nod_Haven't tried it, added a related issue though.
Comment #4
cilefen commentedComment #5
elijah lynnThanks for the related issues.
I will note that the CTO of CKSource (owner of CKEditor) says that using source maps seems difficult because it is compiled first.
Comment #6
elijah lynnAfter further review of #2480333: Document how to use an unminified CKEditor build (for developing/debugging) I am closing this as a duplicate.