wunderio / wunderhub

A central content repository for the WunderSites.
http://docs.wunderhub.apiary.io/
GNU General Public License v2.0
3 stars 3 forks source link

Add new text filter to set all internal image URLs to absolute URLs #35

Closed joesb closed 8 years ago

joesb commented 8 years ago

Plus config in basic HTML editor.

This is needed because if someone inserts an image inline into e.g. a blog, by default the URL in the image src is a relative URL - Drupal's assuming it's for use on the Hub site itself, of course. But, if someone wants to use that blog on e.g. a country site, then the relative URL is no good. So, the filter automatically rewrites relative URLs to absolute ones.

lewisnyman commented 8 years ago

I have issues serving files from my vagrant box but the url has definitely been updated in the api. Thanks.

joesb commented 8 years ago

Woo hoo!