Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
See attached screens.
Comment | File | Size | Author |
---|---|---|---|
#1 | wysiwyg-fullscreen-admin-menu.1898210.1.patch | 3.41 KB | TwoD |
After maximising.png | 17.99 KB | dddbbb | |
Before maximising.png | 48.24 KB | dddbbb |
Comments
Comment #1
TwoDThis appears to happen only when the Overlay is used. We've already got the logic in place to hide the standard Toolbar for editors which supports fullscreen modes, so this patch simply adds
#admin-menu
to the list of elements to show/hide.Comment #2
dddbbb CreditAttribution: dddbbb commentedThat patch seems to fix the issue for me. Many thanks.
Comment #3
sunLooks good.
As a possible follow-up improvement (in a separate issue), we could investigate to provide central API helper methods for this, in order to decrease the amount of duplicated code.
Comment #4
TwoDThanks for the quick review, sorry it took me a month to patch this.
I've committed this to all major branches and the -dev snapshots will be updated within 12 hours and this will be part of the next official releases..
EDIT: Yes, a central utility function sounds good.
Follow-up in #1927000: Add utility functions for fullscreen mode management.