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

Automatic marker re-rendering during conversion for markers which view element was unbound #1781

Merged
merged 7 commits into from
Aug 16, 2019

Conversation

scofalik
Copy link
Contributor

@scofalik scofalik commented Aug 13, 2019

Suggested merge commit message (convention)

Other: Introduced automatic marker re-rendering during conversion for markers which view element was unbound. Closes ckeditor/ckeditor5#4532.

BREAKING CHANGE: New parameter introduced in DowncastDispatcher#convertChanges(). Now it is convertChanges( differ, markers, writer ).
BREAKING CHANGE: Although it was rather impossible to use DowncastDispatcher without specifying any conversion API in the constructor, now it is a required parameter.

@scofalik scofalik requested a review from pjasiun August 13, 2019 09:11
@scofalik
Copy link
Contributor Author

I've updated docs for conversionApi parameter but please hold on with this PR as I am not entirely sure how much do we actually need this change. I was under impression that this is a big and needed change and it looks like that on paper but I am struggling a bit with real test scenarios that are actually important.

I mean, I have a scenario that crashed without this fix but maybe actually it is possible (and makes sense) to provide a smaller fix than this.

@coveralls
Copy link

coveralls commented Aug 16, 2019

Coverage Status

Coverage remained the same at 100.0% when pulling 384f172 on t/1780 into 89dbe43 on master.

@pjasiun pjasiun merged commit 5661fb6 into master Aug 16, 2019
@pjasiun pjasiun deleted the t/1780 branch August 16, 2019 13:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants