diff --git a/core/modules/media/js/plugins/drupalmedia/plugin.es6.js b/core/modules/media/js/plugins/drupalmedia/plugin.es6.js index 7a0c5a4..6921db5 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 6269316..b198362 100644 --- a/core/modules/media/js/plugins/drupalmedia/plugin.js +++ b/core/modules/media/js/plugins/drupalmedia/plugin.js @@ -172,6 +172,7 @@ widget._setUpEditButton(); editor.fire('unlockSnapshot'); + editor.fire('saveSnapshot'); }); } @@ -332,4 +333,4 @@ linkCommandIntegrator(editor); } }); -})(jQuery, Drupal, CKEDITOR); \ No newline at end of file +})(jQuery, Drupal, CKEDITOR);