summaryrefslogtreecommitdiff
path: root/addons/website/static/tests
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2019-08-27 14:47:47 +0000
committerqsm-odoo <qsm@odoo.com>2019-08-28 09:04:55 +0000
commit4f27e52cabb77b8b1a9637a11185ddf882adc9af (patch)
treeb4b752daef0050988604260d43802413c856bbd7 /addons/website/static/tests
parent05f9b1f4e680ef05fccf2b9b324ec24282daa65d (diff)
[IMP] web_editor, *: introduce and restore new web_editor UI
* mass_mailing, note, website, website_blog, website_form, website_mass_mailing, website_sale This commit, unfortunately, mixes three things: - Restoring as much as possible the scss organisation to allow styling the web_editor UI properly. - Fixing some bugs like a border around the page once the editor is loaded, no ability to scroll the snippets, etc - Introducing a whole new UI for snippet options: a left panel instead of the old dropdown & button overlay. Note: this commit also do some linting and ES6 convertion even though some of it has been done in the parent commit. Note 2: some elements that were removed are still styled in the POS apps but this is because part of a feature was removed while leaving dead code behind, this is handled in another PR which is to be merged (https://github.com/odoo/odoo/pull/36136). Part of https://github.com/odoo/odoo/pull/36068 task-1942370 closes odoo/odoo#36068 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/website/static/tests')
-rw-r--r--addons/website/static/tests/tours/rte.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/tests/tours/rte.js b/addons/website/static/tests/tours/rte.js
index d8c8d768162..912cb6832e0 100644
--- a/addons/website/static/tests/tours/rte.js
+++ b/addons/website/static/tests/tours/rte.js
@@ -55,7 +55,7 @@ tour.register('rte_translator', {
run: 'drag_and_drop #wrap',
}, {
content: "change content",
- trigger: '.oe_overlay_options .oe_options:visible',
+ trigger: '#wrap',
run: function () {
$("#wrap p:first").replaceWith('<p>Write one or <font style="background-color: yellow;">two paragraphs <b>describing</b></font> your product or\
<font style="color: rgb(255, 0, 0);">services</font>. To be successful your content needs to be\