From 0f65015b1b0a849bf109df11fd18a9e3a62820e4 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Mon, 28 Sep 2020 11:07:30 +0000 Subject: [FIX] web_editor, *: show text tools in style tab only *: website As the text editor is still the summernote one, this improvement was made possible through a series of hack. It has to be reviewed once the new editor is ready. This makes the text tools only appear in the style tab by switching to it as soon as the summernote tools are updated. To prevent flickering, css and js hacks had to be made. This also moves the undo/redo buttons in the top bar with another hack: those simulates click on the hidden summernote ones. Part of https://github.com/odoo/odoo/pull/58638 --- addons/website/static/src/xml/website.editor.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'addons/website/static/src/xml/website.editor.xml') diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml index 0f3eb714224..e3fecaf2189 100644 --- a/addons/website/static/src/xml/website.editor.xml +++ b/addons/website/static/src/xml/website.editor.xml @@ -12,7 +12,11 @@
-
+
+
+
-- cgit v1.2.3