Two undo steps after embed image and reattach editor to DOM #4644
Labels
plugin:embed
The plugin which probably causes the issue.
plugin:undo
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
type:bug
A bug.
Type of report
Bug
Provide detailed reproduction steps (if any)
Extracted from: #4481 (review) (Scenario 2) & #4601 (comment)
Expected result
There is only one undo step in history.
Actual result
There are two undo steps.
Other details
The first and second ones are different by
bookmark
in Image. So our content Images comparisonckeditor4/plugins/undo/plugin.js
Lines 390 to 400 in 1c01491
There are situations when the double toggle "Source mode" fix this issue.
This bug is introduced by #4462 #4601
The text was updated successfully, but these errors were encountered: