Tuesday, April 6, 2021
1 change · master
Resolved issues and error corrections
This fix changes how Ctrl+A works inside the web editor so it selects the current editable content instead of the entire email layout. This prevents users from accidentally deleting the whole mailing and triggering errors that leave the email unusable.
Original PR description
Odoo Task : https://www.odoo.com/web#id=2497783&action=333&active_id=1695&model=project.task&view_type=form&cids=1&menu_id=4720 Bug report from LNA: > In Google Slides, when you press ctrl+a, it selects the content of your container (ex : your shape or title or whatever) which is pretty useful to quickly replace big blobs of text whereas here, it takes the entire email and if I press suppr => traceback https://pastebin.com/KnCzV3Hc https://tinyurl.com/yzen23cc And my mailing is then empty and completely broken https://tinyurl.com/yhhu9zj6 I can't even drop so it's just over since I cannot click on "cancel" https://tinyurl.com/yef5c55s -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr