Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #52133, comment 22


Ignore:
Timestamp:
06/04/2021 09:13:38 PM (3 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52133, comment 22

    initial v1  
    22> I've confirmed that you can also trigger this issue by initiating a drag-and-drop on the metabox.
    33
    4 Unfortunately this is a known problem that has always existed. Nothing to do with TinyMCE, the browsers would "empty" iframes when they are dragged (their position/patent node changes in the DOM). That's a security precaution afaik.
     4Unfortunately this is a known problem that has always existed. Nothing to do with TinyMCE, the browsers would "empty" iframes when they are dragged (their position/parent node changes in the DOM). That's a security precaution afaik.
    55
    66There is a possible workaround for this involving deleting the TinyMCE instance on dragstart (can be quite choppy), and re-initializing it after dragend but it was failing a lot (about 1/5 loosely depending on content length) last time I tested it.