Closed KarolDawidziuk closed 1 year ago
It's been a while since we last heard from you. We are marking this pull request as stale due to inactivity. Please provide the requested feedback or the pull request will be closed after next 7 days.
Thanks, @Comandeer for the review. I've simplified code and PR is ready for another check.
Thanks @Comandeer for the review.
I've added support for non-zero margins for list by default when ACF will be properly set. In addition I've added missing unit and manual test for non-zero ones and PR is ready for another check.
@Comandeer, fixtures updated
Rebased on to the latest master
.
@Comandeer handling of the horizontal margins in lists images was removed.
Rebased onto the latest master
.
@Comandeer PR is ready to review.
What is the purpose of this pull request?
New feature
Does your PR contain necessary tests?
All patches that change the editor code must include tests. You can always read more on PR testing, how to set the testing environment and how to create tests in the official CKEditor documentation.
This PR contains
Did you follow the CKEditor 4 code style guide?
Your code should follow the guidelines from the CKEditor 4 code style guide which helps keep the entire codebase consistent.
What is the proposed changelog entry for this pull request?
What changes did you make?
As lists are unwrapped during the cleaning process and we lost information about margins, I've added a temporary attribute called
cke-list-style-margins
to save information about zero margins. Then margins are applied during creating a new list when the pasteTools_keepZeroMargins config option is ON.To prepare a unit test I've used our getClipboard tool and I've take an appropriate html from each browser.
Which issues does your PR resolve?
Closes #5316.