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 committed Dec 2, 2019
1 parent 79d7420 commit 62314c9
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 62314c9

Please sign in to comment.