Merged in feature/81-dev-dev01 (pull request #5)
auto-patch 81-dev-dev01-2023-12-05T22_45_26 * auto-patch 81-dev-dev01-2023-12-05T22_45_26
This commit is contained in:
@@ -291,7 +291,7 @@ wp.textWidgets = ( function( $ ) {
|
||||
onInit = function() {
|
||||
|
||||
// When a widget is moved in the DOM the dynamically-created TinyMCE iframe will be destroyed and has to be re-built.
|
||||
$( editor.getWin() ).on( 'unload', function() {
|
||||
$( editor.getWin() ).on( 'pagehide', function() {
|
||||
_.defer( buildEditor );
|
||||
});
|
||||
|
||||
|
||||
2
wp/wp-admin/js/widgets/text-widgets.min.js
vendored
2
wp/wp-admin/js/widgets/text-widgets.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user