Hide new drupal admin navigation on mercury editor routes

Created on 23 May 2024, 7 months ago
Updated 4 July 2024, 6 months ago

Problem/Motivation

Mercury Editor hides admin toolbar on its edit form/preview. This works well for classic toolbar/admin_toolbar modules, but doeasn't currently support the new Navigation module that will be available in Drupal 10.3 https://www.drupal.org/node/3443691 β†’ .

When using the Navigation module admin navigation/toolbar is dispalyed two times on Mercury Editor views.

Steps to reproduce

  • install Drupal 10.3-beta1 β†’ or newer
  • enable Navigation module
  • install Mercury Editor
  • enable Mercury Editor for content type
  • open content edit/add form for content type with Mercury Editor enabled

Proposed resolution

Prevent displaying the new admin navigation toolbar on routes with `_hide_admin_toolbar` option set, simillary as it is done for classic admin toolbars.

✨ Feature request
Status

Fixed

Version

2.1

Component

User interface

Created by

πŸ‡΅πŸ‡±Poland wotnak

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024