Skip to content

MarkerOperation is incorrectly transformed by SplitOperation in scenario when start and split is at the same positionΒ #18449

@scofalik

Description

@scofalik

πŸ“ Provide detailed reproduction steps (if any)

  1. Create a marker which starts at the end of a paragraph, e.g. <p>[</p><p>Foo]</p>.
  2. Merge elements.
  3. Undo.

βœ”οΈ Expected result

The marker is correctly restored.

❌ Actual result

The marker has incorrect start position: <p></p><p>[Foo]</p>.

πŸ“ƒ Other details

You can test this using e.g. track changes and insertion suggestion.

Metadata

Metadata

Assignees

Labels

package:enginesquad:collaborationIssue to be handled by the Collaboration team.type:bugThis issue reports a buggy (incorrect) behavior.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions