From 467415f6313720a074c63d195fae1bd4582882d6 Mon Sep 17 00:00:00 2001 From: David Monjoie Date: Mon, 25 Jul 2022 15:04:55 +0000 Subject: [PATCH] [IMP] web_editor: rename Auto width to Default This nomenclature was taken straight from the old Summernote options when the new editor was merged in 15.0. While perfectly correct from a technical point of view, the use of the word "Auto" in this context is confusing because the user might think that the system is going to choose an optimal size for them while this is not what this option does at all. What it does is simply removing any width style property that might be set on the image, thus letting the image be sized appropriately by the browser in accordance with active CSS rules at that position in the page, hence its "Default" width. closes odoo/odoo#96679 Signed-off-by: David Monjoie (dmo) --- addons/web_editor/static/src/xml/editor.xml | 2 +- addons/web_editor/views/snippets.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/web_editor/static/src/xml/editor.xml b/addons/web_editor/static/src/xml/editor.xml index 7f4d74277fc..8b12c8718b2 100644 --- a/addons/web_editor/static/src/xml/editor.xml +++ b/addons/web_editor/static/src/xml/editor.xml @@ -186,7 +186,7 @@
-
Auto
+
Default
100%
50%
25%
diff --git a/addons/web_editor/views/snippets.xml b/addons/web_editor/views/snippets.xml index 57135598a38..68cccecc69f 100644 --- a/addons/web_editor/views/snippets.xml +++ b/addons/web_editor/views/snippets.xml @@ -571,7 +571,7 @@ - Auto + Default 25% 50% 100%