Procházet zdrojové kódy

Merge branch 'stable' of github.com:ckeditor/ckeditor5-indent into stable

Anna Tomanek před 6 roky
rodič
revize
459053b796

+ 2 - 2
packages/ckeditor5-indent/src/indent.js

@@ -19,8 +19,8 @@ import IndentUI from './indentui';
  *
  * The compatible features are:
  *
- * - the {@link module:list/list~List} or {@link module:list/listediting~ListEditing} feature for list indentation
- * * the {@link module:list/list~List} or {@link module:list/listediting~ListEditing} feature for list indentation
+ * * The {@link module:list/list~List} or {@link module:list/listediting~ListEditing} feature for list indentation.
+ * * The {@link module:indent/indentblock~IndentBlock} feature for block indentation.
  *
  * This is a "glue" plugin which loads the following plugins:
  *

+ 2 - 2
packages/ckeditor5-indent/src/indentblockcommand.js

@@ -105,9 +105,9 @@ export default class IndentBlockCommand extends Command {
  */
 
 /**
- * Returns new indent attribute value based on current indent.
+ * Returns a new indent attribute value based on the current indent. This method returns `undefined` when the indentation should be removed.
  *
  * @method #getNextIndent
- * @param {String} indentAttributeValue Current indent attribute value.
+ * @param {String} indentAttributeValue The current indent attribute value.
  * @returns {String|undefined}
  */

+ 1 - 1
packages/ckeditor5-indent/src/indentcommandbehavior/indentusingclasses.js

@@ -14,7 +14,7 @@
  */
 export default class IndentUsingClasses {
 	/**
-	 * Creates an instance of the command.
+	 * Creates an instance of the indentation behavior.
 	 *
 	 * @param {Object} config
 	 * @param {String} config.direction The direction of indentation.

+ 2 - 0
packages/ckeditor5-indent/src/indentcommandbehavior/indentusingoffset.js

@@ -8,6 +8,8 @@
  */
 
 /**
+ * The block indentation behavior that uses offsets to set indentation.
+ *
  * @implements module:indent/indentblockcommand~IndentBehavior
  */
 export default class IndentUsingOffset {

+ 2 - 2
packages/ckeditor5-indent/src/indentediting.js

@@ -15,8 +15,8 @@ import MultiCommand from '@ckeditor/ckeditor5-core/src/multicommand';
  *
  * This plugin registers the `'indent'` and `'outdent'` commands.
  *
- * **Note**: In order the commands to work at least one of compatible features is required. Read more in
- * {@link module:indent/indent~Indent indent feature} api docs.
+ * **Note**: In order for the commands to work, at least one of the compatible features is required. Read more in:
+ * {@link module:indent/indent~Indent indent feature} API docs.
  *
  * @extends module:core/plugin~Plugin
  */