diff options
| author | Antoine Guenet <age@odoo.com> | 2019-07-12 12:54:25 +0000 |
|---|---|---|
| committer | Adrien Dieudonne <adr@odoo.com> | 2019-07-18 06:50:13 +0000 |
| commit | 2136ea5646d77869469a463db4ecd32f0f20ae1e (patch) | |
| tree | 078245b55fc3eddaa2c1e8a3db651305e90b473f /addons/mail/static/src/xml/abstract_thread_window.xml | |
| parent | c526715110a5e2f67dda2bc56cced4afd46ac316 (diff) | |
[FIX] web_editor, website: consistently apply undo on CTRL-Z
This fixes a bug in Website, that can be reproduced like so:
- insert a snippet
- insert a char in it
- 2x CTRL-Z
The second CTRL-Z didn't do anything because Summernote moved the range
to the header, which is not editable. This fix moves the range to the
first editable element in the editor in these cases, thereby keeping the
focus in an editable area, and ensuring that hotkeys still function.
The history feature being non-tested as of this version, no test could
be added for this fix.
closes odoo/odoo#34834
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
Diffstat (limited to 'addons/mail/static/src/xml/abstract_thread_window.xml')
0 files changed, 0 insertions, 0 deletions
