|
|
@@ -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).
|
|
|
*
|