Skip to content

Commit

Permalink
Dont use zero width sapce for EZP-29882
Browse files Browse the repository at this point in the history
  • Loading branch information
SerheyDolgushev authored and alongosz committed Jan 21, 2020
1 parent 8728a0b commit 2641a9c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -64,7 +62,6 @@ const ZERO_WIDTH_SPACE = '​';
},

insertWrapper: function(wrapper) {
this.editor.insertHtml(ZERO_WIDTH_SPACE);
this.editor.insertElement(wrapper);
},

Expand Down

0 comments on commit 2641a9c

Please sign in to comment.