8
0
فهرست منبع

Fixed API docs.

Piotrek Koszuliński 8 سال پیش
والد
کامیت
c329f5332a
2فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 4 4
      packages/ckeditor5-core/src/command.js
  2. 1 1
      packages/ckeditor5-core/src/command/toggleattributecommand.js

+ 4 - 4
packages/ckeditor5-core/src/command.js

@@ -20,8 +20,8 @@ import mix from '@ckeditor/ckeditor5-utils/src/mix';
  * Instances of registered commands can be retrieved from {@link module:core/editor/editor~Editor#commands}.
  * The shortest way to execute a command is through {@link module:core/editor/editor~Editor#execute}.
  *
- * @implements CommandInterface
- * @mixes module:utils/observablemixin~ObservaleMixin
+ * @implements module:core/command~CommandInterface
+ * @mixes module:utils/observablemixin~ObservableMixin
  */
 export default class Command {
 	/**
@@ -60,7 +60,7 @@ export default class Command {
 mix( Command, ObservableMixin );
 
 /**
- * The command interface. Usually implemented by inheriting from the {@link Command base `Command` class}.
+ * The command interface. Usually implemented by inheriting from the {@link module:core/command~Command base `Command` class}.
  *
  * @interface CommandInterface
  */
@@ -109,7 +109,7 @@ mix( Command, ObservableMixin );
  * Event fired by the {@link #execute} method. The command action is a listener to this event so it's
  * possible to change/cancel the behavior of the command by listening to this event.
  *
- * See {@link module:utils/observablemixin~ObservableMixin#decorate} for more information and samples.
+ * See {@link module:utils/observablemixin~ObservableMixin.decorate} for more information and samples.
  *
  * **Note:** This event is fired even if command is disabled.
  *

+ 1 - 1
packages/ckeditor5-core/src/command/toggleattributecommand.js

@@ -12,7 +12,7 @@ import getSchemaValidRanges from './helpers/getschemavalidranges';
 import isAttributeAllowedInSelection from './helpers/isattributeallowedinselection';
 
 /**
- * An extension of the base {@link module:core/command/command~Command} class, which provides utilities for a command which toggles a single
+ * An extension of the base {@link module:core/command~Command} class, which provides utilities for a command which toggles a single
  * attribute on a text or an element. `ToggleAttributeCommand` uses {@link module:engine/model/document~Document#selection}
  * to decide which nodes (if any) should be changed, and applies or removes attributes from them.
  *