TinyMCE dialogs break when switching between edit modes

Found in

EPiServer.CMS.UI 11.7.0

Fixed in

EPiServer.CMS.TinyMce 2.6.3

Created

Sep 07, 2018

Updated

Sep 24, 2018

Area

CMS UI

State

Closed, Fixed and tested


Description

Steps to reproduce:

  1. Create an Alloy site
  2. Go to On Page Edit mode and click an overlay for an XhtmlString property.
  3. Switch to all properties edit.
  4. Open a TinyMCE dialog in the editor, e.g. code or codesample.
  5. Switch back to On Page Edit.
  6. Click the overlay for the XhtmlString property again.
  7. Open a TinyMCE dialog in the editor, e.g. code or codesample.

It can also be reproduced by opening the edit modes in the opposite order APE -> OPE -> APE. The key is loading editors in both APE/OPE before opening the first dialog.

Expected
The dialog is displayed correctly.

Actual
Dialog is broken and unusable.