Before this commit, when trying to paste an url, the editor was properly creating a link but did not create a step in the history. So when the user hit enter just after the paste, the last link insertion was reverted. Task-2720366 closes odoo/odoo#83396 X-original-commit: 0e37742d3caba1c6544e5b466503f155626375eb Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>