diff options
| author | qsm-odoo <qsm@odoo.com> | 2020-08-17 09:22:58 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-08-17 09:31:58 +0000 |
| commit | 7ef484377a493ebe558242480d0da6b542d6c247 (patch) | |
| tree | f0eb954297bf8c64b4802afb3ddd1456544744d3 /addons/web_editor/static/src/xml | |
| parent | 75b8e39bb26d9c459307f0a00d2b2e598bbb38a0 (diff) | |
[IMP] web_editor: add delete button on snippet overlay
This commit adds a trash icon on the snippet overlay to delete the
snippet without using the left panel button.
task-2314805
closes odoo/odoo#55612
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/xml')
| -rw-r--r-- | addons/web_editor/static/src/xml/snippets.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/xml/snippets.xml b/addons/web_editor/static/src/xml/snippets.xml index 673ba9ea5f6..aef96c3b981 100644 --- a/addons/web_editor/static/src/xml/snippets.xml +++ b/addons/web_editor/static/src/xml/snippets.xml @@ -15,6 +15,7 @@ <!-- Button-like handle to drag and drop --> <div class="o_move_handle"/> </div> + <button type="button" class="oe_snippet_remove fa fa-trash"/> </div> </div> </div> |
