Type of report
Bug
Provide detailed reproduction steps (if any)
- Go to https://webspellchecker.com/wsc-proofreader/#proofreader-ckeditor4.
- Correct any word via WProofreader menu/panel.
Expected result
The change is possible to undo.
Actual result
Undo is still inactive and it activates after more changes are made (e.g. typing). If correction wasn't the first action in the editor it works fine, so it is only an issue when corrections are first actions in the editor.

Other details
Tested on Chrome with CKEditor 4.
It works fine in CKEditor 5, so it depends on the editor architecture and how it reacts to external DOM changes.