Skip to content

Differ is incorrectly treating attribute operations on elements #4526

Closed
ckeditor/ckeditor5-engine
#1765
@scofalik

Description

@scofalik

AttributeOperations are shallow. It means that, for example, if AttributeOperation changes range [ 1 ] - [ 3 ] only elements on offset 1 and 2 are changed but their children not.

In Differ, we forgot about that and by mistake Differ tried to work on children of elements when attribute operation was executed which leads to a crash in certain scenarios.

Metadata

Metadata

Assignees

Labels

package:enginetype:bugThis issue reports a buggy (incorrect) behavior.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions