summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js/user_custom_javascript.js
diff options
context:
space:
mode:
authorAntoine Guenet <age@odoo.com>2019-01-28 14:34:40 +0000
committerAntoine Guenet <age@odoo.com>2019-02-04 09:44:18 +0000
commit48cb3c71d12711b4ce173b985a59faf334738058 (patch)
tree23b6af32ead1cdd0af6f5adcfba885752bab9daa /addons/website/static/src/js/user_custom_javascript.js
parent6dbdfb9bf73b7838b43e7804f51c4e64d1039359 (diff)
[IMP] web_editor: handle CTRL+A (and then DELETE) locally
This fixes issues with CTRL+A then delete. Now CTRL+A selects all the contents of the unbreakable node in which the range is contained. Deleting it all will replace the contents with `<p><br></p>` so the user can start editing afresh. Note: Only CTRL+A is handled: ``select all`` in contextual and edit menus are still handled by the browser. closes odoo/odoo#30648
Diffstat (limited to 'addons/website/static/src/js/user_custom_javascript.js')
0 files changed, 0 insertions, 0 deletions