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.
When opening fullscreen mode, ckeditor's toolbar will get the top of the main toolbar.
It seems that this code from ckeditor.sticky-toolbar.js
is causing the problem:
function setPosition() {
return function (event) {
var toolBar = $('.cke_top', context);
// Set sticky position.
if (event.name === 'instanceReady') {
toolBar.once('ckeditorStickyToolbarPosition').attr('style', toolBar.attr('style') + 'position: sticky; position: -webkit-sticky;');
}
// Align position.
toolBar.css('top', $('body').css('padding-top'));
};
}
Maybe we can filter the code to work only in normal mode.
Comment | File | Size | Author |
---|---|---|---|
#2 | fix_fullscreen_ckeditor_top_position-3037112-2.patch | 241 bytes | YahyaAlHamad |
Comments
Comment #2
YahyaAlHamadYou can also fix it by css alone, this patch attempt to fix only the css as a temporary solution.
Comment #3
volkerk CreditAttribution: volkerk at Thunder commentedhttps://github.com/BurdaMagazinOrg/theme-thunder-admin/pull/199
Comment #4
YahyaAlHamadComment #6
chr.fritschDone