Browse Source

A tiny fix to the AttributeCommand docs.

Szymon Kupś 8 năm trước cách đây
mục cha
commit
0cd380fcd5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/ckeditor5-basic-styles/src/attributecommand.js

+ 1 - 1
packages/ckeditor5-basic-styles/src/attributecommand.js

@@ -68,7 +68,7 @@ export default class AttributeCommand extends Command {
 	 *
 	 * The execution result differs, depending on the {@link module:engine/model/document~Document#selection}:
 	 *
-	 * * if selection is on a range, the command applies the attribute on all nodes in that ranges
+	 * * if selection is on a range, the command applies the attribute on all nodes in that range
 	 * (if they are allowed to have this attribute by the {@link module:engine/model/schema~Schema schema}),
 	 * * if selection is collapsed in non-empty node, the command applies attribute to the
 	 * {@link module:engine/model/document~Document#selection} itself (note that typed characters copy attributes from selection),