Confluence Distraction Free Editor with wrong window height in Chrome

XMLWordPrintable

    • Type: Bug
    • Resolution: Support Request
    • Priority: Low
    • None
    • Affects Version/s: 5.5.3
    • Component/s: None

      Confluence Distraction Free Editor brings full window height option to rtf editor.
      It does not work at all in IE 11.
      It works fine in FF 21.
      In Chrome 36 it causes wrong height: window / scrollbar height keeps static, but editor window moves up.

      This Plguin adds the following custom HTML to Confluence:

      <script>
      AJS.$(document).ready(function() {
        if (AJS.$('#wysiwygTextarea_ifr').length > 0) {
          AJS.$('#wysiwygTextarea_ifr').height(AJS.$('#rte').height());
        }
      });
      </script>
      

      If AJS.$('#rte').height() is changed to window.height() everything works fine in FF21 and Chrome36.

      <script>
      AJS.$(document).ready(function() {
        if (AJS.$('#wysiwygTextarea_ifr').length > 0) {
          AJS.$('#wysiwygTextarea_ifr').height(window.height());
        }
      });
      </script>
      

      (both versions tested with IE11, FF21, Chrome36)

            Assignee:
            Steve Haffenden (Inactive)
            Reporter:
            roomeon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: