fix relative_urls in editor