Files
odoo_source/addons/web_editor/static
Nicolas Bayet cc66d73836 [FIX] web_editor: ensure editor history always has more than 0 steps
344d82c commit changed how the editor `_historySteps` should behave.
Before that commit, `_historySteps` could have 0 steps whereas after
that commit `_historySteps` should always have at least the first step
be a snapshot. When reseting the history, we should now add a snapshot
as a first step. This commit guarantees it.

closes odoo/odoo#75901

Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
2021-09-08 09:03:07 +00:00
..