[FIX] web_editor: properly save history step when pasting text

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>
This commit is contained in:
Nicolas Bayet
2022-01-26 13:11:14 +00:00
parent e4e69d54fb
commit 013f0da147
@@ -2829,6 +2829,7 @@ export class OdooEditor extends EventTarget {
}
}
}
this.historyStep();
}
}
/**