Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

I/6116 #227

Merged
merged 2 commits into from
Mar 9, 2020
Merged

I/6116 #227

merged 2 commits into from
Mar 9, 2020

Conversation

Reinmar
Copy link
Member

@Reinmar Reinmar commented Mar 9, 2020

Suggested merge commit message (convention)

Other: Introduced support for multi-range selections. See ckeditor/ckeditor5#6116.


Additional information

The issue was fairly simple – we used only the first selection range. deleteContent() was called with it, only the first cell was cleared. However, the worst happened later – insertContent() was called with the original range's start position. This was a position inside <tableRow> and made it impossible to insert anything.

As for changes in the tests – I used the correct paragraph element because it has a special meaning and changes the behaviour of some methods. It was necessary to make the tests pass with changes in ckeditor5-engine.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 53ee255 on i/6116 into cb75e45 on master.

@Reinmar
Copy link
Member Author

Reinmar commented Mar 9, 2020

Those changes were reviewed already by @scofalik and @oleq. Merging.

@Reinmar Reinmar merged commit 64daf31 into master Mar 9, 2020
@Reinmar Reinmar deleted the i/6116 branch March 9, 2020 22:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants