Hi guys,
There is a plugins folder with all the dialog .js files. These are the packed versions of the same stuff from the _source folder. How do I package this stuff when I make changes to it?
Is there a sample .pack file out there somewhere, and if so would it make sense to include it as part of the distribution?
Thanks,
Nitesh
There is a plugins folder with all the dialog .js files. These are the packed versions of the same stuff from the _source folder. How do I package this stuff when I make changes to it?
Is there a sample .pack file out there somewhere, and if so would it make sense to include it as part of the distribution?
Thanks,
Nitesh
Re: ckpackager for plugin dialog _source files
See http://docs.cksource.com/CKEditor_3.x/H ... tor_Source
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: ckpackager for plugin dialog _source files
Unfortunately, this doesn't answer the second question. In fact the documentation in that article is misleading, for example suggests that if I change _source/plugins/tabletools/dialogs/tableCell.js, then I should not need to use the package. However, the plugins directory contains all the packed versions.
It also mentions a couple of times that the dialog files are lazy loaded, but it implies they are not packed - they are. This is kind of misleading and the documentation needs to be clear here.
The real question is, is there a sample .pack file I can use with the packager to compress all the stuff from the _source/plugins directory?
Regards,
Nitesh
Re: ckpackager for plugin dialog _source files
So take a breath, read it slowly and look carefully.
The dialogs aren't packed into ckeditor.js, they are just compressed and you can find the original version under /_source/plugins and the compressed ones under /plugins.
You can modify a dialog by using the compressed version or replacing it with the one from _source
The dialogs are loaded on demand, you can verify it with Firebug, developer tools, fiddler, ...
and if you look at the root of the zip, besides the ckeditor.js, CHANGES.html, INSTALL.html, ... you'll find a ckeditor.pack, so there's your sample file.
Re: ckpackager for plugin dialog _source files
I had already read that page many times before making my first post, so your first two paragraphs aren't really relevant - as all my ideas were gotten from that page in the first place. That is why I am saying that page is misleading. I'm not saying it's incorrect, just misleading because it doesn't really give enough information about how to deal with the dialog files when you want to customise them.
Anyway, I'm already aware of the pack file for the main ckeditor.js, and also the fact that the _source files are not compressed into this file. This is exactly why I'm looking for a sample pack file that generates all the compressed plugin dialog files. I'm guessing one must have been used, or at least hoping.
Does that make sense? I could write it myself, but it makes more sense to ask if someone has already done it.
Re: ckpackager for plugin dialog _source files
This is what I was after, case closed.
Re: ckpackager for plugin dialog _source files
I know this is an old thread...
But thank you for your persistence. This was exactly my question too.
And your pack file worked perfectly.
Justin Funk
www.instabir.com