Skip to content

Commit

Permalink
EZP-31321: Dropped injecting zero-width space into ezembed(inline) el…
Browse files Browse the repository at this point in the history
…ements (#1151)

* Dont use zero width sapce for EZP-29882

* EZP-29882: Remove unused ZERO_WIDTH_SPACE
  • Loading branch information
SerheyDolgushev authored and lserwatka committed Jan 22, 2020
1 parent 6905f78 commit 30ea995
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import customTagBaseDefinition from '../widgets/ez-custom-tag-base';

const ZERO_WIDTH_SPACE = '​';

CKEDITOR.dtd.$editable.span = 1;

(function(global) {
Expand Down
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 30ea995

Please sign in to comment.