Hi,
I'm new to ckeditor and decided to deeply investigate its capabilities today. I don't need a whole bunch of plugins so I decided to pick only what I really need. I picked basic package with english language only and three plugins - Table, Table Tools and Table Resize. After downloading and opening any sample html shipped with the such a custom build I found that ckeditor is not loaded.
Errors in js console are as follows:
Failed to load resource file:///tmp/ckeditor/plugins/table/plugin.js Failed to load resource file:///tmp/ckeditor/plugins/panel/plugin.js Failed to load resource file:///tmp/ckeditor/plugins/floatpanel/plugin.js Failed to load resource file:///tmp/ckeditor/plugins/menu/plugin.js Failed to load resource file:///tmp/ckeditor/plugins/contextmenu/plugin.js
Besides that all the sample pages have references to such */plugin.js files which absent in the custom ckeditor build.
Am I missing something? Is it possible to build minimized version of ckeditor with the only plugins/languages that I need or some external tool should be used to "fix" the build after downloading and unpacking?
Thanks in advance!
Some of the plugins are
Some of the plugins are needed internally for CKEditor to work. They are marked as "required" on their subsequent pages, like Panel.
I guess you simply "customized" the build by manually removing what you deemed redundant? That's not the way to go really.
Instead, use CKBuilder to create your build.
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!
>I guess you simply
>I guess you simply "customized" the build by manually removing what you deemed redundant? That's not the way to go really.
I didn't.
>Instead, use CKBuilder to create your build.
I used CKBuilder exactly as you proposed. Please, try to download any customized build (just pick any package, say basic with just english language and add any plugin to the build) then open any sample shipped with custom build in the browser window. Then you'll see that editor component just not created in place of the html element. Then if you open js console you'll see multiple errors.
Thank you, it seems that
Thank you, it seems that there indeed is some issue here. When I created a custom build based on the Basic preset + English + some random plugin (Elements Path), it worked OK. But there are problems with a build described by you above, i.e. Basic + table plugins. Seems that some dependencies are not added automatically. We will investigate this, thanks!
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!
Please, let me know when you
Please, let me know when you fix this bug.
I'm curious whether there is another possibility exists to create such a custom build without CKBuilder, e.g. with some kind of make files. I guess you (CKEditor team) have such sort of tools and if it opened for general public please, let me know also :)
The bug should be fixed, so
The bug should be fixed, so try building what you need.
I'm afraid we don't have any magical tools that we hide from the general public ;-) We simply use the GitHub repository and create builds from the development versions. See these two articles, too:
- http://docs.ckeditor.com/#!/guide/dev_source
- http://docs.ckeditor.com/#!/guide/dev_build
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!
Thanks a lot! I tried to
Thanks a lot! I tried to download custom build with the plugins I need and it seems initial issue is no longer exists.
You guys rock! :)