Changes between Version 1 and Version 2 of Ticket #19173, comment 23
- Timestamp:
- 09/15/2015 07:17:04 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19173, comment 23
v1 v2 8 8 As far as I see there are two options to improve this: 9 9 - "Lock" the container postbox so it cannot be dragged when using the visual editor (preferred). The user will have to "fold" the postbox to be able to drag it. 10 - Sa fe the content and destroy the editor instance on dragStart, then initialize the editor again and load the content on dragEnd. This is more complex and will make the dragging somewhat hard as processing and saving the editor content can be slow.10 - Save the content and destroy the editor instance on dragStart, then initialize the editor again and load the content on dragEnd. This is more complex and will make the dragging somewhat hard as processing and saving the editor content can be slow. 11 11 12 12 IMHO the plugin that requires visual editor in a draggable container should decide which approach to use. We probably can add support for the first approach to wp_editor() when used in a postbox, but that's not a priority.