-
- Downloads
[FIX] web_editor: delete behavior before table
Before this commit:
* A delete at the end of an empty block just before a table (unbreakable), nothing happened.
After this commit:
* A delete at the end of an empty block just before an unbreakable block, the empty paragraph should be removed and the selection put at the beginning of the unbreakable block.
task-3186679
task-3252775
closes odoo/odoo#125211
Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
Showing
- addons/web_editor/static/src/js/editor/odoo-editor/src/commands/deleteForward.js 12 additions, 0 deletions...c/src/js/editor/odoo-editor/src/commands/deleteForward.js
- addons/web_editor/static/src/js/editor/odoo-editor/src/utils/utils.js 1 addition, 1 deletion...ditor/static/src/js/editor/odoo-editor/src/utils/utils.js
- addons/web_editor/static/src/js/editor/odoo-editor/test/spec/editor.test.js 32 additions, 2 deletions...static/src/js/editor/odoo-editor/test/spec/editor.test.js
Loading
Please register or sign in to comment