Customizations from this PR: https://github.com/plone/volto/pull/4583
