When the editor was inside a table in the odoo view HTML, The KeyDown detected that the selection was inside a table and was trying to add a row bellow the table outside the editor. task-2601451 closes odoo/odoo#78396 X-original-commit: d1ced1b5a6ad0099fbdcca2530e1e06034108755 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com> Signed-off-by: Sébastien Geelen <sebgeelen@users.noreply.github.com>