瀏覽代碼

API docs fixes.

Maciek 9 年之前
父節點
當前提交
3ba8492f58

+ 1 - 1
packages/ckeditor5-autoformat/src/blockautoformatengine.js

@@ -45,7 +45,7 @@ export default class BlockAutoformatEngine {
 	 *			} );
 	 * 		} );
 	 *
-	 * @param {module:core/editor~Editor} editor Editor instance.
+	 * @param {module:core/editor/editor~Editor} editor Editor instance.
 	 * @param {RegExp} pattern Regular expression to exec on just inserted text.
 	 * @param {Function|String} callbackOrCommand Callback to execute or command to run when text is matched.
 	 * In case of providing callback it receives following parameters:

+ 2 - 2
packages/ckeditor5-autoformat/src/inlineautoformatengine.js

@@ -23,13 +23,13 @@ import getSchemaValidRanges from '../core/command/helpers/getschemavalidranges.j
  */
 export default class InlineAutoformatEngine {
 	/**
-	 * Enables autoformatting mechanism on a given {@link module:core/editor~Editor}.
+	 * Enables autoformatting mechanism on a given {@link module:core/editor/editor~Editor}.
 	 *
 	 * It formats the matched text by applying given model attribute or by running the provided formatting callback.
 	 * Each time data model changes text from given node (from the beginning of the current node to the collapsed
 	 * selection location) will be tested.
 	 *
-	 * @param {module:core/editor~Editor} editor Editor instance.
+	 * @param {module:core/editor/editor~Editor} editor Editor instance.
 	 * @param {Function|RegExp} testRegexpOrCallback RegExp or callback to execute on text.
 	 * Provided RegExp *must* have three capture groups. First and third capture groups
 	 * should match opening/closing delimiters. Second capture group should match text to format.