New media item DnD to TinyMCE not listed in "For This Page" folder

Found in

EPiServer.CMS.TinyMce 2.8.1

Fixed in

EPiServer.CMS.TinyMce 2.10.0

Created

Oct 03, 2019

Updated

Jan 20, 2020

Area

CMS UI

State

Closed, Fixed and tested


Description

Steps to reproduce

  1. Create a new content item (Page1) with an XhtmlString property.
  2. Open the TinyMCE editor on Page1.
  3. DnD an image file (Image1.png) from the computer to the TinyMCE editor.
  4. Open Page1's "For This Page" media folder.

Expected:
The new image appears in the media folder.

Actual:
The new image does not appear in the media folder.

Note: The only happens if the "For This Page" folder is not created or empty (ID=4). The new image item is listed after reloading the webpage or reopening Page1.