xwp / wp-core-media-widgets

Feature plugin for development of new core media widgets for image, video, and audio (and others)
https://wordpress.org/plugins/wp-core-media-widgets/
35 stars 8 forks source link

Utilize wp.editor.remove() #158

Closed westonruter closed 7 years ago

westonruter commented 7 years ago

See https://core.trac.wordpress.org/ticket/35760#comment:32

This also fixes a bug where the visual editor would fail to get re-switched to after dragging if the user had ever switched to the text tab.

timmyc commented 7 years ago

Didn't see that wp.editor.remove() was new at first, after updating trunk this is working well in my testing.