fix media plugin for dynamic urls
fix editor for frontend