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

I/6003: Ensure exception marker is flat #10

Merged
merged 6 commits into from
Jan 2, 2020
Merged

I/6003: Ensure exception marker is flat #10

merged 6 commits into from
Jan 2, 2020

Conversation

jodator
Copy link
Contributor

@jodator jodator commented Dec 20, 2019

Suggested merge commit message (convention)

Fix: Fix non-flat exception markers. Closes ckeditor/ckeditor5#6003.


The problem was with non-flat range of the marker which happened after upcast conversion.

I've added a "post-fixer" that listens to new markers and fixes non-flat markers. It is rather an edge case and I didn't consider other cases like markers set on <table> or so which "standard editing mode" does not allow to create.

@jodator jodator requested a review from Reinmar December 20, 2019 11:15
@Reinmar
Copy link
Member

Reinmar commented Jan 2, 2020

I reverted your changes to the manual test. Other than that, all seems to work fine. Although, I expect to see more problems like this with some other features that have more complicated conversion + post-fixers.

@Reinmar Reinmar merged commit 70e3e12 into master Jan 2, 2020
@Reinmar Reinmar deleted the i/6003 branch January 2, 2020 14:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants