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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

YahyaAlHamad created an issue. See original summary.

YahyaAlHamad’s picture

You can also fix it by css alone, this patch attempt to fix only the css as a temporary solution.

volkerk’s picture

Title: After Drupal 8.6.10, ckeditor toolbar is not at the top when fullscreen. » Ckeditor toolbar is not at the top when fullscreen.
Status: Active » Needs review
YahyaAlHamad’s picture

  • volkerk authored bcdf40a on 8.x-2.x
    Issue #3037112 by YahyaAlHamad: Ckeditor toolbar is not at the top when...
chr.fritsch’s picture

Status: Needs review » Fixed

Done

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.