Skip to content

Commit 879fad4

Browse files
committed
[IMP] SavePlugin is now necessary for dragAndDrop
Why is that the case? ¯\_(ツ)_/¯
1 parent 016a171 commit 879fad4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

addons/html_builder/static/src/builder.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
<t t-else="">FS</t>
1919
<!-- TODO remove FS -->
2020
</button>
21-
<button t-if="editor.shared.savePlugin" type="button" t-on-click="discard" class="o-hb-btn btn" data-action="cancel" title="Tip: Esc to preview" accesskey="j">Discard</button>
22-
<button t-if="editor.shared.savePlugin" type="button" t-on-click="save" class="o-hb-btn btn btn-success px-3" data-action="save" accesskey="s">Save</button>
21+
<button t-if="!props.getExternalScrollableAncestor?.()" type="button" t-on-click="discard" class="o-hb-btn btn" data-action="cancel" title="Tip: Esc to preview" accesskey="j">Discard</button>
22+
<button t-if="!props.getExternalScrollableAncestor?.()" type="button" t-on-click="save" class="o-hb-btn btn btn-success px-3" data-action="save" accesskey="s">Save</button>
2323
</div>
2424
</div>
2525
<div class="o-snippets-tabs position-relative grid px-2 my-2" style="--columns: 3; --gap: 0.25rem">

addons/mass_mailing_egg/static/src/builder/mass_mailing_builder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export class MassMailingBuilder extends Component {
2222
// TODO EGGMAIL: copied from website, check if something needs to be changed here
2323
const pluginsToRemove = [
2424
"BuilderFontPlugin", // Makes call to Google API (can't be used for emails)
25-
"SavePlugin",
25+
// "SavePlugin",
2626
"SaveSnippetPlugin",
2727
"AnchorPlugin",
2828
];

0 commit comments

Comments
 (0)