Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. when orange "Edit Content" button is clicked in "Content Mode", then screen is grayed out, but no modal window is appearing
  2. if modal window is appearing, then the CKEditor is larger (by 4px) then modal window itself:

Problems & Solutions

  1. this is caused by jquery-ui.css file (that is usually included from CDN) and specifically by following selector: 

    Code Block
    languagecss
    .ui-resizable { position: relative; }

    In the thickbox.css file (that is used in Admin Console and included, when site is viewed in Content Mode) we should add following CSS: 

    Code Block
    languagecss
    title/core/admin_templates/js/jquery/thickbox/thickbox.css
     .ui-resizable { position: absolute; }
  2. this is caused by following selector, that is usually present in modern website slice-ups to overcome box model issues in different browsers: 

    Code Block
    languagecss
    *, *:before, *:after {
    	-moz-box-sizing: border-box;
    	-webkit-box-sizing: border-box;
    	box-sizing: border-box;
    }

    In the thickbox.css file (that is used in Admin Console and included, when site is viewed in Content Mode) we should add following CSS: 

    Code Block
    languagecss
    title/core/admin_templates/js/jquery/thickbox/thickbox.css
    #TB_window, .TB_window {
    	-moz-box-sizing: content-box;
    	-webkit-box-sizing: content-box;
    	box-sizing: content-box;
    }

Related Tasks

Jira Legacy
serverSystem Jira
serverId513b375f-8291-3313-9d9f-704c39b1f915
keyINP-1434