Skip to content

Commit 08059f5

Browse files
Allow embeds in inside tables
1 parent ba2d29d commit 08059f5

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)