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

i/6225: Fix for the ";" styles after removing margin entries. #1823

Merged
merged 1 commit into from
Feb 12, 2020
Merged

Conversation

jodator
Copy link
Contributor

@jodator jodator commented Feb 11, 2020

Suggested merge commit message (convention)

Fix: Removing normalized properties from styles map should clean the internal object. Closes ckeditor/ckeditor5#6225.


Additional information

When removing normalized style values (like 'margin-right', 'margin-top', etc) one by one the base 'margin' entry was not cleared. This caused problems with checking for the emptiness of StylesMap and was causing wrong toString() output with ';'.

…nal object.

When removing normalized style values (like 'margin-right', 'margin-top', etc) one by one the base 'margin' entry was not cleared. This caused problems with checking for emptiness of StylesMap and was causing wrong toString() output with ';'.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling dbe2d8f on i/6225 into ecaf056 on master.

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