-
- 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#106348
Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
Showing
- addons/web_editor/static/lib/odoo-editor/src/OdooEditor.js 40 additions, 9 deletionsaddons/web_editor/static/lib/odoo-editor/src/OdooEditor.js
- addons/web_editor/static/lib/odoo-editor/src/powerbox/Powerbox.js 6 additions, 3 deletions...eb_editor/static/lib/odoo-editor/src/powerbox/Powerbox.js
- addons/web_editor/static/src/js/wysiwyg/wysiwyg.js 2 additions, 0 deletionsaddons/web_editor/static/src/js/wysiwyg/wysiwyg.js
- addons/website/static/src/js/menu/edit.js 11 additions, 1 deletionaddons/website/static/src/js/menu/edit.js
Loading
Please register or sign in to comment