-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #259 - Embed images in CSS so asset fingerprinting works. #260
Conversation
@gankro what do you think about this? |
Base64 embedding in CSS:
Seems like a good call to me. My only issues are implementation specific. |
I never touched any of the selectors. Any refactoring of selectors should probably be done elsewhere.
Agreed. I made the changes.
I mistakenly let those go through. I've reverted the whitespace edits. However, trailing whitespace should be removed project-wide but should be done in another commit. |
@pbougie thanks. I'll take a look at this tonight or something. Did you check IE9-10? |
Works well in IE9-10. Is there somewhere where you list browser compatibility for EpicEditor? On 2013-06-29, at 15:09 , Oscar Godson notifications@github.com wrote:
|
Thanks @gankro! The code all looks good to me too. I'm going to test it locally real quick then merge it if it looks good. |
Buttons are still buttons and base64 doesnt seem to be working. |
@OscarGodson Works fine here. Looks like the new styles are missing. Did you force reload the CSS? |
I can try again later. Works fine in IE10 mode tho which means the caching shouldn't be a problem. |
@pbougie Deleted everything (cookies, cache, etc) and finally it worked. Hopefully this isn't an issue when upgrading for people. Thanks again for the contribution :) |
Moves images into base64-encoded CSS to fix problems when using the Rails asset pipeline and asset fingerprinting. Changing an image is almost as easy as it was: instead of changing the image in the filesystem, you simply base64 encode it and paste it into the CSS. Use an encoder such as this one: http://webcodertools.com/imagetobase64converter