Skip to content

Commit

Permalink
EZP-30732: As an Editor I want be able to add embed/images inside tab…
Browse files Browse the repository at this point in the history
…le cells
  • Loading branch information
SerheyDolgushev committed Jul 9, 2019
1 parent 8a266ae commit 7a97f04
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ const ZERO_WIDTH_SPACE = '​';
init: function(editor) {
editor.ezembed = {
canBeAdded: () => {
const path = editor.elementPath();

return !path || path.contains('table', true) === null;
return true;
},
};

Expand Down

0 comments on commit 7a97f04

Please sign in to comment.