-
- Downloads
[FIX] web_editor: adapt warning when quality options are unavailable
Previously, when quality options were not available, the option would simply not be displayed. User feedback suggests that this is confusing, as for example, in the case of modifying the image in a t-field, quality options would not be available when starting the editor, but would become available when picking the image again in the media-dialog. Some leftover code allowed to display a warning about why the quality options were not available in the case where the image is not local to the database. This warning has been adapted to display a more informative message about why quality options are not available, as well as suggest a solution: - External image => download the image and upload it in odoo - t-field => "You need to choose this image again in the media-dialog or reupload it to have access to quality options" - Images that are in an unsupported format (anything other than PNG or JPEG) => short explanation that quality options are only available on PNG and JPEG images. task-2466819 part of odoo/odoo#66732 X-original-commit: 84417a17
Showing
- addons/web_editor/i18n/web_editor.pot 21 additions, 0 deletionsaddons/web_editor/i18n/web_editor.pot
- addons/web_editor/static/src/js/editor/snippets.options.js 17 additions, 9 deletionsaddons/web_editor/static/src/js/editor/snippets.options.js
- addons/web_editor/static/src/scss/wysiwyg_snippets.scss 4 additions, 0 deletionsaddons/web_editor/static/src/scss/wysiwyg_snippets.scss
Loading
Please register or sign in to comment