浏览代码

Merge branch 'stable' into master.

Anna Tomanek 5 年之前
父节点
当前提交
d96e8a883c

+ 1 - 1
packages/ckeditor5-list/src/indentcommand.js

@@ -95,7 +95,7 @@ export default class IndentCommand extends Command {
 			/**
 			 * Event fired by the {@link #execute} method.
 			 *
-			 * It allows to execute an action after executing the {@link ~IndentCommand#execute} method, e.g. adjusting
+			 * It allows to execute an action after executing the {@link ~IndentCommand#execute} method, for example adjusting
 			 * attributes of changed list items.
 			 *
 			 * @protected

+ 1 - 1
packages/ckeditor5-list/src/listcommand.js

@@ -215,7 +215,7 @@ export default class ListCommand extends Command {
 			/**
 			 * Event fired by the {@link #execute} method.
 			 *
-			 * It allows to execute an action after executing the {@link ~ListCommand#execute} method, e.g. adjusting
+			 * It allows to execute an action after executing the {@link ~ListCommand#execute} method, for example adjusting
 			 * attributes of changed blocks.
 			 *
 			 * @protected

+ 3 - 3
packages/ckeditor5-list/src/liststyle.js

@@ -12,10 +12,10 @@ import ListStyleEditing from './liststyleediting';
 import ListStyleUI from './liststyleui';
 
 /**
- * The list styles feature.
+ * The list style feature.
  *
- * This is a "glue" plugin that loads the {@link module:list/liststyleediting~ListStyleEditing list styles editing feature}
- * and the {@link module:list/liststyleui~ListStyleUI list styles UI feature}.
+ * This is a "glue" plugin that loads the {@link module:list/liststyleediting~ListStyleEditing list style editing feature}
+ * and the {@link module:list/liststyleui~ListStyleUI list style UI feature}.
  *
  * @extends module:core/plugin~Plugin
  */

+ 2 - 2
packages/ckeditor5-list/src/liststylecommand.js

@@ -11,7 +11,7 @@ import Command from '@ckeditor/ckeditor5-core/src/command';
 import { getSiblingNodes } from './utils';
 
 /**
- * The list style command. It is used by the {@link module:list/liststyle~ListStyle list styles feature}.
+ * The list style command. It is used by the {@link module:list/liststyle~ListStyle list style feature}.
  *
  * @extends module:core/command~Command
  */
@@ -47,7 +47,7 @@ export default class ListStyleCommand extends Command {
 	 * Executes the command.
 	 *
 	 * @param {Object} options
-	 * @param {String|null} options.type The type of the list styles, e.g. 'disc' or 'square'. If `null` specified, the default
+	 * @param {String|null} options.type The type of the list style, e.g. `'disc'` or `'square'`. If `null` is specified, the default
 	 * style will be applied.
 	 * @protected
 	 */

+ 4 - 4
packages/ckeditor5-list/src/liststyleediting.js

@@ -15,10 +15,10 @@ import { getSiblingListItem, getSiblingNodes } from './utils';
 const DEFAULT_LIST_TYPE = 'default';
 
 /**
- * The list styles engine feature.
+ * The list style engine feature.
  *
- * It sets value for the `listItem` attribute for the {@link module:list/list~List `<listItem>`} element that
- * allows modifying list style type.
+ * It sets the value for the `listItem` attribute of the {@link module:list/list~List `<listItem>`} element that
+ * allows modifying the list style type.
  *
  * It registers the `'listStyle'` command.
  *
@@ -186,7 +186,7 @@ export default class ListStyleEditing extends Plugin {
 	}
 }
 
-// Returns a converter that consumes the `style` attribute and search for `list-style-type` definition.
+// Returns a converter that consumes the `style` attribute and searches for the `list-style-type` definition.
 // If not found, the `"default"` value will be used.
 //
 // @returns {Function}

+ 3 - 3
packages/ckeditor5-list/src/liststyleui.js

@@ -31,10 +31,10 @@ import listStyleUpperLatinIcon from '../theme/icons/liststyleupperlatin.svg';
 import '../theme/liststyles.css';
 
 /**
- * The list styles UI plugin. It introduces the extended `'bulletedList'` and `'numberedList'` toolbar
- * buttons that allow users change styles of individual lists in the content.
+ * The list style UI plugin. It introduces the extended `'bulletedList'` and `'numberedList'` toolbar
+ * buttons that allow users to change styles of individual lists in the content.
  *
- * **Note**: Buttons introduces by this plugin override implementations from the {@link module:list/listui~ListUI}
+ * **Note**: Buttons introduced by this plugin override implementations from the {@link module:list/listui~ListUI}
  * (because they share the same names).
  *
  * @extends module:core/plugin~Plugin

+ 1 - 1
packages/ckeditor5-list/theme/liststyles.css

@@ -6,7 +6,7 @@
 .ck.ck-list-styles-dropdown > .ck-dropdown__panel > .ck-toolbar > .ck-toolbar__items {
 	/*
 	 * Use the benefits of the toolbar (e.g. out-of-the-box keyboard navigation) but make it look
-	 * like panel with thumbnails (previews).
+	 * like a panel with thumbnails (previews).
 	 */
 	display: grid;
 }