From ff81fa4798e232a03daf0eeff7d85ad35a52b25c Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Mon, 21 Sep 2020 11:26:58 +0000 Subject: [IMP] web_editor, website, *: move text tools in snippets panel *: website_event, test_website This commit is a series of hacks. The goal is to move the summernote text tools to the editor panel for the website editor. All the code to use the text tools in a top bar is kept (mass mailing, etc) and the text tools are placed at the right place for website in an ugly way. This is obviously temporary, until we can implement those text tools more generically and in a better way thanks to the new editor. Part of https://github.com/odoo/odoo/pull/57975 task-2344227 closes odoo/odoo#57975 Related: odoo/design-themes#364 Signed-off-by: Quentin Smetz (qsm) --- addons/website_event/static/src/js/tours/event_tour.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/website_event/static/src') diff --git a/addons/website_event/static/src/js/tours/event_tour.js b/addons/website_event/static/src/js/tours/event_tour.js index 9666e76c5e1..cc7177d053b 100644 --- a/addons/website_event/static/src/js/tours/event_tour.js +++ b/addons/website_event/static/src/js/tours/event_tour.js @@ -29,7 +29,7 @@ EventAdditionalTourSteps.include({ position: 'bottom', run: 'drag_and_drop #o_wevent_event_main_col', }, { - trigger: '#web_editor-top-edit button[data-action="save"]', + trigger: 'button[data-action="save"]', content: _t("Don't forget to click save when you're done."), position: 'bottom', }, { -- cgit v1.2.3