You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, since context.forceWeakRemove is used only for RemoveOperation x MoveOperation transformation, we can safely get rid of first part of this condition: originalB instanceof RemoveDelta. The flag doesn't have to have meaningful value if given delta has no RemoveOperations.
The text was updated successfully, but these errors were encountered:
scofalik
changed the title
OT: incorrectly set context.forceWeakRemove for MergeDelta.
OT: incorrectly set context.forceWeakRemove for MergeDelta.
Jul 31, 2017
scofalik
changed the title
OT: incorrectly set context.forceWeakRemove for MergeDelta.
OT: incorrectly set context.forceWeakRemove for MergeDelta
Jul 31, 2017
Fixed: Fixed a bug when additional list item has been created when undoing applying block quote to a list followed by splitting list item in that list. Closes #1053.
mlewand
transferred this issue from ckeditor/ckeditor5-engine
Oct 9, 2019
This is how
context.forceWeakRemove
is set now:This means that it is
true
wheneveroriginalB
is notRemoveDelta
. This is wrong. Not onlyRemoveDelta
hasRemoveOperation
. This causes a bug when transformingMergeDelta
, described here: https://github.com/ckeditor/ckeditor5-undo/issues/65#issuecomment-313444977Actually, since
context.forceWeakRemove
is used only forRemoveOperation
xMoveOperation
transformation, we can safely get rid of first part of this condition:originalB instanceof RemoveDelta
. The flag doesn't have to have meaningful value if given delta has noRemoveOperation
s.The text was updated successfully, but these errors were encountered: