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

Internal: Improved serialization of WrapOperation. #1505

Merged
merged 2 commits into from
Aug 17, 2018
Merged

Internal: Improved serialization of WrapOperation. #1505

merged 2 commits into from
Aug 17, 2018

Conversation

oskarwrobel
Copy link
Contributor

@oskarwrobel oskarwrobel commented Aug 17, 2018

Suggested merge commit message (convention)

Internal: Improved serialization of WrapOperation. Closes ckeditor/ckeditor5#4400.


Additional information

For example – encountered issues, assumptions you had to make, other affected tickets, etc.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.0003%) to 98.616% when pulling e52bffb on t/1504 into 6c1f87e on master.

@@ -31,7 +31,7 @@ export default class WrapOperation extends Operation {
* @param {Number} howMany Offset size of wrapped range. Wrapped range will start at `position.offset` and end at
* `position.offset + howMany`.
* @param {module:engine/model/element~Element|module:engine/model/position~Position} elementOrPosition Element to
* wrap with or position in graveyard before the element which should be used as a wrapper.
* wrap or position in graveyard before the element which should be used as a wrapper.
Copy link
Contributor

Choose a reason for hiding this comment

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

"Element to wrap" sounds like the element that will be wrapped. this.element is the wrapping element. So, okay, I understand that you think that the word "with" is incorrect here, but it cannot be like you wrote. Other suggestions:

  • "Element to wrap in"
  • "Wrapper element"
  • "Wrapping element"

@scofalik scofalik merged commit ef5960e into master Aug 17, 2018
@pjasiun pjasiun deleted the t/1504 branch August 17, 2018 09:23
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.

Missing #element property serialization in WrapOperation
3 participants