Opened 10 years ago
Closed 10 years ago
#36321 closed defect (bug) (duplicate)
Cannot use visual editor after dragging a WP_Editor container
| Reported by: | flixos90 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | TinyMCE | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | javascript |
Description
When a WP Editor is placed inside a draggable element and that element is dragged (using JavaScript), the visual editor of that editor is not usable any longer: Its content disappears and it's no longer possible to even click into the editor frame.
The first time I saw this happening was inside a custom element that I made draggable using the jQuery UI Draggable plugin. After that I also tested the editor inside a regular WordPress meta box, and when I dragged that metabox, the same issue occurred, so it the bug was not related to my own JS implementation.
While investigating, I discovered that this seems to be a general problem of TinyMCE - I couldn't find a proper solution yet though.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #19173.