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

Commit

Permalink
Docs wording fixup.
Browse files Browse the repository at this point in the history
  • Loading branch information
jodator committed Sep 5, 2019
1 parent d12b0cd commit fbba254
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/title.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export default class Title extends Plugin {
}

/**
* Returns `title` element when is in the document. Returns `undefined` otherwise.
* Returns `title` element when it is in the document. Returns `undefined` otherwise.
*
* @private
* @returns {module:engine/model/element~Element|undefined}
Expand All @@ -189,7 +189,7 @@ export default class Title extends Plugin {

/**
* Model post-fixer callback that ensures `title` has only one `title-content` child.
* All additional children should be moved after `title` element and renamed to a paragraph.
* All additional children should be moved after the `title` element and renamed to a paragraph.
*
* @private
* @param {module:engine/model/writer~Writer} writer
Expand Down Expand Up @@ -286,8 +286,8 @@ export default class Title extends Plugin {
}

/**
* Model post-fixer callback that removes paragraph from the end of the document
* if was created for the placeholder purpose and it is not needed anymore.
* Model post-fixer callback that removes a paragraph from the end of the document
* if it was created for the placeholder purpose and it is not needed anymore.
*
* @private
* @param {module:engine/model/writer~Writer} writer
Expand Down

0 comments on commit fbba254

Please sign in to comment.