diff --git a/src/bundle/Resources/public/js/alloyeditor/src/plugins/ez-custom-tag.js b/src/bundle/Resources/public/js/alloyeditor/src/plugins/ez-custom-tag.js index fd7586215d..71649589c1 100644 --- a/src/bundle/Resources/public/js/alloyeditor/src/plugins/ez-custom-tag.js +++ b/src/bundle/Resources/public/js/alloyeditor/src/plugins/ez-custom-tag.js @@ -1,7 +1,5 @@ import customTagBaseDefinition from '../widgets/ez-custom-tag-base'; -const ZERO_WIDTH_SPACE = '​'; - CKEDITOR.dtd.$editable.span = 1; (function(global) { 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); },