fix breadcrumbs for gallery and texteditor