JS Error
sishen opened this issue · comments
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/lib/css/wysiwyg-color.css
The wysiwyg-color.css is located in asset path which is not accessible by /lib/css.
Hi,
I just updated the gem with a fix.
Thanks
Thanks @Nerian. I found it works in my local but failed in production because when asset precompiled, the css is in application.css but not directory /assets/bootstrap-wysihtml5. Thoughts?
BTW, core.js should be updated as there are bug fixes on the bootstrap-wysihtml5. Thanks.
If I can set { color: true } in the option, it should include wysiwyg-color.css to config.assets.precompile list?
Hi,
I updated the gem.
And in config/environments/production.rb you should add something like:
Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
config.assets.precompile += %w( bootstrap-wysihtml5/wysiwyg-color.css )
That should work.