diff --git a/core/modules/media/js/plugins/drupalmedia/plugin.es6.js b/core/modules/media/js/plugins/drupalmedia/plugin.es6.js index ef7ea3f9b5..c177544810 100644 --- a/core/modules/media/js/plugins/drupalmedia/plugin.es6.js +++ b/core/modules/media/js/plugins/drupalmedia/plugin.es6.js @@ -222,6 +222,7 @@ widget._setUpDynamicEditables(); widget._setUpEditButton(); editor.fire('unlockSnapshot'); + editor.fire('saveSnapshot'); }); } diff --git a/core/modules/media/js/plugins/drupalmedia/plugin.js b/core/modules/media/js/plugins/drupalmedia/plugin.js index 7061bf8144..1221e428e9 100644 --- a/core/modules/media/js/plugins/drupalmedia/plugin.js +++ b/core/modules/media/js/plugins/drupalmedia/plugin.js @@ -173,6 +173,7 @@ widget._setUpDynamicEditables(); widget._setUpEditButton(); editor.fire('unlockSnapshot'); + editor.fire('saveSnapshot'); }); } @@ -330,4 +331,4 @@ linkCommandIntegrator(editor); } }); -})(jQuery, Drupal, CKEDITOR); \ No newline at end of file +})(jQuery, Drupal, CKEDITOR);