Skip to content
Snippets Groups Projects
Commit 44bfc23e authored by Stanislas Gueniffey's avatar Stanislas Gueniffey
Browse files

[IMP] web_editor: remove dead '_onInput' code


The 'insertLineBreak' case in `onInput` is dead code because any event
that might cause it (pressing Shift+Enter) first triggers `onKeydown`,
which calls `ev.preventDefault()` and thus prevents it from reaching
`onInput`.

Task-3301232

closes odoo/odoo#121827

X-original-commit: c63cd2f0
Signed-off-by: default avatarDavid Monjoie (dmo) <dmo@odoo.com>
parent b2dffa40
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment