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

view.Writer should deeply add and remove attribute elements to/from their clone groups #1403

Merged
merged 1 commit into from
Apr 11, 2018

Conversation

scofalik
Copy link
Contributor

@scofalik scofalik commented Apr 10, 2018

Suggested merge commit message (convention)

Fix: view.Writer should deeply add and remove view.AttributeElements to/from their clone groups. Closes ckeditor/ckeditor5#4337.

@@ -43,6 +43,9 @@ describe( 'Writer', () => {

describe( 'setSelectionFocus()', () => {
it( 'should use selection._setFocus method internally', () => {
const position = ViewPosition.createAt( root );
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems unrelated but this test started to fail after changing from before to beforeEach.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling e08334d on t/1401 into 817a746 on master.

@pjasiun pjasiun requested a review from szymonkups April 10, 2018 10:29
@pjasiun pjasiun merged commit e6bb59b into master Apr 11, 2018
@pjasiun pjasiun deleted the t/1401 branch April 11, 2018 09:21
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.

view.Writer should deeply unlink attribute elements from their groups when they are removed
3 participants