summaryrefslogtreecommitdiff
path: root/addons/website/static/tests/tours/html_editor.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2020-09-21 11:26:58 +0000
committerqsm-odoo <qsm@odoo.com>2020-09-22 08:46:01 +0000
commitff81fa4798e232a03daf0eeff7d85ad35a52b25c (patch)
treeb85bc78a42136aabb08f0faee09eb28336518d2c /addons/website/static/tests/tours/html_editor.js
parent2abe8517063b2696cc89e9a453dcc3921fb3b8c7 (diff)
[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) <qsm@odoo.com>
Diffstat (limited to 'addons/website/static/tests/tours/html_editor.js')
-rw-r--r--addons/website/static/tests/tours/html_editor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/tests/tours/html_editor.js b/addons/website/static/tests/tours/html_editor.js
index e22ded23311..281b53b8dba 100644
--- a/addons/website/static/tests/tours/html_editor.js
+++ b/addons/website/static/tests/tours/html_editor.js
@@ -22,7 +22,7 @@ tour.register('html_editor_multiple_templates', {
{
content: "save the page",
extra_trigger: '#oe_structure_test_ui.o_dirty',
- trigger: "#web_editor-top-edit button[data-action=save]",
+ trigger: "button[data-action=save]",
},
// 2. Edit generic view
{