8
0
Anna Tomanek 8 жил өмнө
parent
commit
beb28e2118

+ 1 - 1
packages/ckeditor5-block-quote/README.md

@@ -7,7 +7,7 @@ CKEditor 5 Block Quote Feature
 [![Dependency Status](https://david-dm.org/ckeditor/ckeditor5-block-quote/status.svg)](https://david-dm.org/ckeditor/ckeditor5-block-quote)
 [![Dependency Status](https://david-dm.org/ckeditor/ckeditor5-block-quote/status.svg)](https://david-dm.org/ckeditor/ckeditor5-block-quote)
 [![devDependency Status](https://david-dm.org/ckeditor/ckeditor5-block-quote/dev-status.svg)](https://david-dm.org/ckeditor/ckeditor5-block-quote?type=dev)
 [![devDependency Status](https://david-dm.org/ckeditor/ckeditor5-block-quote/dev-status.svg)](https://david-dm.org/ckeditor/ckeditor5-block-quote?type=dev)
 
 
-The block quote feature for CKEditor 5 project. More information about the project can be found at the following url: <https://github.com/ckeditor/ckeditor5>.
+The block quote feature for CKEditor 5. More information about the project can be found at the following URL: <https://github.com/ckeditor/ckeditor5>.
 
 
 ## License
 ## License
 
 

+ 3 - 3
packages/ckeditor5-block-quote/src/blockquote.js

@@ -18,7 +18,7 @@ import '../theme/theme.scss';
 /**
 /**
  * The block quote plugin.
  * The block quote plugin.
  *
  *
- * It introduces the `'blockQuote'` button and requires {@link module:block-quote/blockquoteengine~BlockQuoteEngine}
+ * It introduces the `'blockQuote'` button and requires the {@link module:block-quote/blockquoteengine~BlockQuoteEngine}
  * plugin. It also changes <kbd>Enter</kbd> key behavior so it escapes block quotes when pressed in an
  * plugin. It also changes <kbd>Enter</kbd> key behavior so it escapes block quotes when pressed in an
  * empty quoted block.
  * empty quoted block.
  *
  *
@@ -73,8 +73,8 @@ export default class BlockQuote extends Plugin {
 		const editor = this.editor;
 		const editor = this.editor;
 		const command = editor.commands.get( 'blockQuote' );
 		const command = editor.commands.get( 'blockQuote' );
 
 
-		// Overwrite default enter key behavior.
-		// If enter key is pressed with selection collapsed in empty block inside a quote, break the quote.
+		// Overwrite default Enter key behavior.
+		// If Enter key is pressed with selection collapsed in empty block inside a quote, break the quote.
 		// This listener is added in afterInit in order to register it after list's feature listener.
 		// This listener is added in afterInit in order to register it after list's feature listener.
 		// We can't use a priority for this, because 'low' is already used by the enter feature, unless
 		// We can't use a priority for this, because 'low' is already used by the enter feature, unless
 		// we'd use numeric priority in this case.
 		// we'd use numeric priority in this case.

+ 5 - 5
packages/ckeditor5-block-quote/src/blockquotecommand.js

@@ -37,14 +37,14 @@ export default class BlockQuoteCommand extends Command {
 	}
 	}
 
 
 	/**
 	/**
-	 * Executes the command. When the command {@link #value is on}, then all block quotes within
-	 * the selection will be removed. If it's off, then all selected blocks will be wrapped with
+	 * Executes the command. When the command {@link #value is on}, all block quotes within
+	 * the selection will be removed. If it is off, all selected blocks will be wrapped with
 	 * a block quote.
 	 * a block quote.
 	 *
 	 *
 	 * @fires execute
 	 * @fires execute
 	 * @param {Object} [options] Options for executed command.
 	 * @param {Object} [options] Options for executed command.
 	 * @param {module:engine/model/batch~Batch} [options.batch] Batch to collect all the change steps.
 	 * @param {module:engine/model/batch~Batch} [options.batch] Batch to collect all the change steps.
-	 * New batch will be created if this option is not set.
+	 * A new batch will be created if this option is not set.
 	 */
 	 */
 	execute( options = {} ) {
 	execute( options = {} ) {
 		const doc = this.editor.document;
 		const doc = this.editor.document;
@@ -104,7 +104,7 @@ export default class BlockQuoteCommand extends Command {
 	}
 	}
 
 
 	/**
 	/**
-	 * Removes the quote from the given blocks.
+	 * Removes the quote from given blocks.
 	 *
 	 *
 	 * If blocks which are supposed to be "unquoted" are in the middle of a quote,
 	 * If blocks which are supposed to be "unquoted" are in the middle of a quote,
 	 * start it or end it, then the quote will be split (if needed) and the blocks
 	 * start it or end it, then the quote will be split (if needed) and the blocks
@@ -147,7 +147,7 @@ export default class BlockQuoteCommand extends Command {
 	}
 	}
 
 
 	/**
 	/**
-	 * Applies the quote to the given blocks.
+	 * Applies the quote to given blocks.
 	 *
 	 *
 	 * @private
 	 * @private
 	 * @param {module:engine/model/batch~Batch} batch
 	 * @param {module:engine/model/batch~Batch} batch

+ 1 - 1
packages/ckeditor5-block-quote/src/blockquoteengine.js

@@ -17,7 +17,7 @@ import buildModelConverter from '@ckeditor/ckeditor5-engine/src/conversion/build
 /**
 /**
  * The block quote engine.
  * The block quote engine.
  *
  *
- * Introduces the `'blockQuote'` command and `'blockQuote'` model element.
+ * Introduces the `'blockQuote'` command and the `'blockQuote'` model element.
  *
  *
  * @extends module:core/plugin~Plugin
  * @extends module:core/plugin~Plugin
  */
  */