瀏覽代碼

A tiny fix to the AttributeCommand docs.

Szymon Kupś 8 年之前
父節點
當前提交
0cd380fcd5
共有 1 個文件被更改,包括 1 次插入1 次删除
  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),