odoo/odoo#159306
Created by fw-bot
Merged
at 59890f3e2635ed0d35a509737e3b83346baac4ff
- label
- odoo-dev:master-16.0-weird-behaviour-during-copy-paste-dhba-a0g6-fw
- head
- 8925165889c0736d3215b7b7e8ee37b0e75d4df6
- target
- master
- merged
- 1 month ago by Editor, David Monjoie (dmo)
- forward-port of
- odoo/odoo#155212
[FW][FIX] web_editor: issue with copy paste
**Current behavior before PR:**
When attempting to copy a button that is a direct child of a div tag, the div was unintentionally copied along with the button, leading to additional space upon pasting, along with the background color.
**Desired behavior after PR is merged:**
Now, only the button will be copied and pasted.
task-3764652
Forward-Port-Of: odoo/odoo#158975
Forward-Port-Of: odoo/odoo#155212