We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5098a2 commit 6e5a9ffCopy full SHA for 6e5a9ff
addons/web_editor/static/src/js/editor/snippets.editor.js
@@ -852,6 +852,7 @@ var SnippetEditor = Widget.extend({
852
option.isOwl = true;
853
option.renderingComponent ??= (optionClass).defaultRenderingComponent;
854
option.renderingComponent.components = Object.fromEntries(registry.category("snippet_widgets").getEntries());
855
+ option.forceNoDeleteButton = option.instance.forceNoDeleteButton ?? (optionClass).forceNoDeleteButton;
856
if (option.Class?.displayOverlayOptions) {
857
option.displayOverlayOptions = true;
858
}
0 commit comments