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 (#105)

Ported for eZ Platform v3.0 from ezsystems/ezplatform-admin-ui#1151
  • Loading branch information
dew326 authored and alongosz committed Jan 23, 2020
1 parent 280f8d7 commit c569672
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 './base/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 './base/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 c569672

Please sign in to comment.