Rich Text Editor dialog does not display buttons in a zoomed-in browser


Description

The issue occurs when a user opens the Rich Text Editor (RTE) in the Content Editor from a zoomed-in browser. The RTE modal window might pop up with the dialog buttons out of the window frame. The scroll bars do not appear, and a user is not able to scroll down and use the dialog buttons. This happens because Sitecore XP does not dynamically pick the modal window size according to the browser's settings.

Solution

As a workaround for the issue, you can manually add scrollbars to the modal window by doing the following:

  1. Open the \sitecore\shell\Controls\Rich Text Editor\EditorPage.aspx file.
  2. Find the following code: <html style="overflow: hidden; width: 100%; height: 100%">
  3. Change the value of the overflow parameter from hidden to auto.