Piotr Jasiun 7 anni fa
parent
commit
850f724b26
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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).
 		 *