Skip to content
Snippets Groups Projects
Commit c63cd2f0 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#120854

Signed-off-by: default avatarDavid Monjoie (dmo) <dmo@odoo.com>
parent b92c0670
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