js/plugins/drupalentity/plugin.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/plugins/drupalentity/plugin.js b/js/plugins/drupalentity/plugin.js index 2d108c1..d59a161 100644 --- a/js/plugins/drupalentity/plugin.js +++ b/js/plugins/drupalentity/plugin.js @@ -121,8 +121,6 @@ // @todo Ask CKEditor team if instead of DOM manipulation through jQuery & Drupal AJAX system we could just assign to `data` and let `upcast` handle this? entityEmbedPreview.commands.embed_insert = function (ajax, response, status) { Drupal.AjaxCommands.prototype.embed_insert(ajax, response, status); - // Now that the caption is available in the DOM, make it editable. - event.sender.initEditable('caption', event.sender.definition.editables.caption); editor.fire('unlockSnapshot'); }; editor.fire('lockSnapshot');