Changes between Initial Version and Version 3 of Ticket #14620


Ignore:
Timestamp:
May 4, 2016, 11:31:59 AM (9 years ago)
Author:
kkrzton
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14620

    • Property Status changed from new to assigned
    • Property Owner set to kkrzton
  • Ticket #14620 – Description

    initial v3  
    11This issue comes from https://www.drupal.org/node/2239419.
    22
    3 What happens there is that D8 is overriding height attribute for `html` element, [https://github.com/drupal/drupal/blob/bf28e3d006fda29b0a67f2e6bb7ed1f218ab43be/core/themes/bartik/css/base/elements.css#L7 by setting it to 100%]. This breaks the autogrow plugin.
     3What happens there is that D8 is overriding [https://github.com/drupal/drupal/blob/bf28e3d006fda29b0a67f2e6bb7ed1f218ab43be/core/themes/bartik/css/base/elements.css#L10 min-height attribute for body element] which with connection to [https://github.com/drupal/drupal/blob/bf28e3d006fda29b0a67f2e6bb7ed1f218ab43be/core/themes/bartik/css/base/elements.css#L7 height: 100%] for `html` breaks the autogrow plugin.
    44
    5 To prevent that we could set html's element `height` to `auto` in [https://github.com/ckeditor/ckeditor-dev/blob/bb8028d63bd2e6602ce372f7c6dbbfcf734fa0ef/plugins/autogrow/plugin.js#L30 initIframeAutogrow] and it should work just fine.
     5To prevent that we could set `body`'s element `min-height` (and probably `height`) to `auto` in [https://github.com/ckeditor/ckeditor-dev/blob/bb8028d63bd2e6602ce372f7c6dbbfcf734fa0ef/plugins/autogrow/plugin.js#L30 initIframeAutogrow] and it should work just fine. Note that it cannot be solved by setting `html`'s element `height` to `auto` due to [https://github.com/ckeditor/ckeditor-dev/blob/master/plugins/wysiwygarea/plugin.js#L604 gecko wyswigarea plugin fix].
    66
    77You'll find some useful findings here https://www.drupal.org/node/2239419#comment-10906692.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy