From 2641a9c30a77e69f222b0a219e7f9f7b303db6ec Mon Sep 17 00:00:00 2001 From: Serhey Dolgushev Date: Mon, 2 Dec 2019 16:58:40 +0000 Subject: [PATCH] Dont use zero width sapce for EZP-29882 --- .../Resources/public/js/alloyeditor/src/plugins/ez-embed.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/bundle/Resources/public/js/alloyeditor/src/plugins/ez-embed.js b/src/bundle/Resources/public/js/alloyeditor/src/plugins/ez-embed.js index 67485f8a45..1254b1c8d8 100644 --- a/src/bundle/Resources/public/js/alloyeditor/src/plugins/ez-embed.js +++ b/src/bundle/Resources/public/js/alloyeditor/src/plugins/ez-embed.js @@ -1,7 +1,5 @@ import embedBaseDefinition from '../widgets/ez-embed-base'; -const ZERO_WIDTH_SPACE = '​'; - (function(global) { if (CKEDITOR.plugins.get('ezembed') && CKEDITOR.plugins.get('ezembedinline')) { return; @@ -64,7 +62,6 @@ const ZERO_WIDTH_SPACE = '​'; }, insertWrapper: function(wrapper) { - this.editor.insertHtml(ZERO_WIDTH_SPACE); this.editor.insertElement(wrapper); },