With Rails4, hardcoded asset links don't work

Submitting pull request for wysihtml5, other types probably need a similar fix