Skip to content

Commit e76b0e6

Browse files
thjo-odooabd-msyukyu-odoo
authored andcommitted
[FIX] mass_mailing_egg: use dropzone predicates
1 parent cfc1a95 commit e76b0e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

addons/mass_mailing_egg/static/src/builder/plugins/dropzone_plugin.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Plugin } from "@html_editor/plugin";
2+
import { isPhrasingContent } from "@html_editor/utils/dom_info";
23
import { registry } from "@web/core/registry";
34

45
class DropzonePlugin extends Plugin {
@@ -47,6 +48,7 @@ class DropzonePlugin extends Plugin {
4748
dropNear: ".row:not(.s_col_no_resize) > div",
4849
},
4950
],
51+
filter_for_sibling_dropzone_predicates: (el) => isPhrasingContent(el),
5052
};
5153

5254
get noOptionsSelector() {

0 commit comments

Comments
 (0)