Solved

Avoiding number of files downloaded by ckeditor

Posted on 2016-10-02
1
28 Views
Last Modified: 2016-10-14
Hi,
I am using ckeditor and its currently downloading lots of file.
Especially the file ckeditor.js is downloading 4 another files... I am thinking of some way to bundle the other files inside ckeditor using webpack or something...
Please suggest how can i do it and bundle all the files inside ckeditor.js itself.
Here is the screen shot of Net panel in chrome developer tools which shows the files being downloaded
Screen-Shot-2016-10-02-at-5.00.04-PM.pngI want to avoid the downlosing of editor.css, config.js, ..and other files in pink and instead bundle them inside ckedior.js itself.


Thanks
0
Comment
Question by:Rohit Bajaj
1 Comment
 
LVL 50

Accepted Solution

by:
Steve Bink earned 500 total points
ID: 41825856
I feel your pain, but I think you're stuck with this unless you edit CKEditor's core files.  I have not seen an option to consolidate the files, and they are called separately in order to support plugins, skins, etc.  

You could always make a custom build that does this.  Just keep a patch file handy to know what you changed.  Then you should be able to reproduce your patch in future versions.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now