浏览代码

Update docs.

Piotr Jasiun 7 年之前
父节点
当前提交
850f724b26
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-basic-styles/src/attributecommand.js

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

@@ -41,7 +41,7 @@ export default class AttributeCommand extends Command {
 		 * Flag indicating whether the command is active. The command is active when the
 		 * {@link module:engine/model/selection~Selection#hasAttribute selection has the attribute} which means that:
 		 *
-		 * * If the selection is not empty – That the first node in the selection that allows the attribute has the attribute set.
+		 * * If the selection is not empty – That the attribute is set on the first node in the selection that allows this attribute.
 		 * * If the selection is empty – That the selection has the attribute itself (which means that newly typed
 		 * text will have this attribute, too).
 		 *