Skip to content

Commit 7a97f04

Browse files
EZP-30732: As an Editor I want be able to add embed/images inside table cells
1 parent 8a266ae commit 7a97f04

File tree

1 file changed

+1
-3
lines changed
  • src/bundle/Resources/public/js/alloyeditor/src/plugins

1 file changed

+1
-3
lines changed

src/bundle/Resources/public/js/alloyeditor/src/plugins/ez-embed.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ const ZERO_WIDTH_SPACE = '​';
2121
init: function(editor) {
2222
editor.ezembed = {
2323
canBeAdded: () => {
24-
const path = editor.elementPath();
25-
26-
return !path || path.contains('table', true) === null;
24+
return true;
2725
},
2826
};
2927

0 commit comments

Comments
 (0)