I am using the ckeditor gem and i am using it on one page of my website. When i use Apple Safari’s web inspector I am noticing that ckeditor resources are loading on every page. Any ideas on how to limit this. I’m running it in development mode
Share
You should add more details if you want help here. For example:
Anyway I guess you placed the
//=require ckeditorinstruction in yourapplication.jsfile, which is include in the layout view, so in every page of your app, if you didn’t change the layout settings.You just need to move the instruction in another
.jsfile and include it just in the page where you need ckeditor.See this gem documentation for more information.