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

Used forceWeakRemove flag in undo OT #96

Merged
merged 2 commits into from
Feb 18, 2019
Merged

Used forceWeakRemove flag in undo OT #96

merged 2 commits into from
Feb 18, 2019

Conversation

scofalik
Copy link
Contributor

Suggested merge commit message (convention)

Internal: Used forceWeakRemove flag in undo OT.

expect( root.maxOffset ).to.equal( 0 );

expect( editor.model.document.selection.getFirstRange().isEqual( r( 0, 0 ) ) ).to.be.true;
expect( editor.model.document.selection.isBackward ).to.be.false;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had to remove this part of the test because it started to fail. Unfortunately, this part is about more complex OT of "unwrap action". Since we removed WrapOperation and UnwrapOperation we no longer can provide fixes for such scenario.

It was working before "by accident" due to a bug in a different pair of transformations.

@coveralls
Copy link

coveralls commented Feb 14, 2019

Coverage Status

Coverage remained the same at 100.0% when pulling 46a7804 on t/ckeditor5/1385 into 601f213 on master.

@Reinmar Reinmar merged commit fc2166a into master Feb 18, 2019
@Reinmar Reinmar deleted the t/ckeditor5/1385 branch February 18, 2019 09:12
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.

3 participants