RTE dialog resizing does not work

  • When working in the Content Editor, the Rich Text Editor (RTE) dialog might be set to a static width. The reason for this behavior is the Width and minWidth values of the RTE dialog window. By default, the width of the window is 1000px, and minWidth is 1200px. Therefore, the window has width=1200px and its size cannot be decreased.

  • To resolve the issue, consider one of the following options:
    • Download and install the patch compatible with the affected product version found on this page:
      https://github.com/SitecoreSupport/Sitecore.Support.94737/releases.
    • Or perform the following steps:
      1. Open the EditorWindow.aspx file that is located in the \sitecore\shell\Controls\Rich Text Editor folder.
      2. In the fixRadWindowMinWidth(radWindow) function, replace the line
        mainWindow.style.minWidth = "1200px";
        with
        mainWindow.style.minWidth = "800px";
      3. In the fixRadWindowMinWidth(radWindow) function, replace the line
        <telerik:RadWindow ID="MainWindow" Behaviors="Resize,Move,Close,Maximize" runat="server" KeepInScreenBounds="true" Width="1000" Height="600" Modal="true" ReloadOnShow="false" Skin="Default" OnClientBeforeClose="scClientClose" />
        with
        <telerik:RadWindow ID="MainWindow" Behaviors="Resize,Move,Close,Maximize" runat="server" KeepInScreenBounds="true" Width="900" Height="600" Modal="true" ReloadOnShow="false" Skin="Default" OnClientBeforeClose="scClientClose" />.
      4. Save the file.
      As a result, the RTE window width changes to 900px and its toolbar has 3 lines. The window can be resized, but the minimum width value of this window is 800px.

Applies to:

CMS 7.0 Initial Release+

February 26, 2020
February 26, 2020

Reference number:

94737

Keywords: 

  • Rich Text Editor