Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-34450

Confluence Distraction Free Editor with wrong window height in Chrome

    • Icon: Bug Bug
    • Resolution: Support Request
    • Icon: Low Low
    • None
    • 5.5.3
    • 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)

            [CONFSERVER-34450] Confluence Distraction Free Editor with wrong window height in Chrome

            No work has yet been logged on this issue.

              shaffenden Steve Haffenden (Inactive)
              7ab265d9ed24 roomeon
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: