Skip to content
Snippets Groups Projects
Commit 451f1a26 authored by Rodopho Cammarosano de Lima (rcdl)'s avatar Rodopho Cammarosano de Lima (rcdl)
Browse files

[FIX] web_editor: save a historyStep upon cut


Before this commit, _onClipboardCut removed the selected text but did not
register it as a history step. Other than not storing history properly,
this caused unexpected behavior when followed by an action that leads to a
historyRollback on the current step, such as those in _onInput.

task-3142995

closes odoo/odoo#110453

Signed-off-by: default avatarDavid Monjoie (dmo) <dmo@odoo.com>
parent 30a8e933
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment