-
- Downloads
[FIX] web_editor: fix commands in inline
Some commands from the powerBox command bar were not working
properly in the e-shop product "terms and conditions" section.
This was due to the isolation of Odoo fields
inside the odoo editor as a all.
Those fields do not always have an editable block element
to apply the command on.
We disable some commands that should not be apear in this context.
We also remove a redundant command (separator) in website pages.
task-2962067
closes odoo/odoo#107037
Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
Showing
- addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js 40 additions, 10 deletions...editor/static/src/js/editor/odoo-editor/src/OdooEditor.js
- addons/web_editor/static/src/js/editor/odoo-editor/src/powerbox/Powerbox.js 1 addition, 1 deletion...static/src/js/editor/odoo-editor/src/powerbox/Powerbox.js
- addons/web_editor/static/src/js/wysiwyg/wysiwyg.js 15 additions, 0 deletionsaddons/web_editor/static/src/js/wysiwyg/wysiwyg.js
- addons/website/static/src/components/wysiwyg_adapter/wysiwyg_adapter.js 10 additions, 0 deletions.../static/src/components/wysiwyg_adapter/wysiwyg_adapter.js
Loading
Please register or sign in to comment