8
0
Quellcode durchsuchen

Merge branch 'master' into t/42

Piotrek Koszuliński vor 9 Jahren
Ursprung
Commit
ea721d9bb9

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

@@ -78,7 +78,7 @@ export default class Command {
 	 * Executes the command if it is enabled.
 	 *
 	 * @protected
-	 * @param {*} param Parameter passed to {@link #execute execute} method of this command.
+	 * @param {*} param Parameter passed to {@link module:core/editor/editor~Editor#execute execute} method of this command.
 	 */
 	_execute( param ) {
 		if ( this.isEnabled ) {

+ 3 - 3
packages/ckeditor5-core/src/editor/editor.js

@@ -20,7 +20,7 @@ import mix from '../../utils/mix.js';
 /**
  * Class representing a basic editor. It contains a base architecture, without much additional logic.
  *
- * See also {@link module:core/editor/editor~StandardEditor}.
+ * See also {@link module:core/editor/standardeditor~StandardEditor}.
  *
  * @mixes module:utils/emittermixin~EmitterMixin
  */
@@ -81,14 +81,14 @@ export default class Editor {
 		 * Instance of the {@link module:engine/controller/datacontroller~DataController data controller}.
 		 *
 		 * @readonly
-		 * @member {module:engine/controller.DataController}
+		 * @member {module:engine/controller/datacontroller~DataController}
 		 */
 		this.data = new DataController( this.document );
 
 		/**
 		 * Instance of the {@link module:engine/controller/editingcontroller~EditingController editing controller}.
 		 *
-		 * This property is set by more specialized editor classes (such as {@link module:core/editor/editor~StandardEditor}),
+		 * This property is set by more specialized editor classes (such as {@link module:core/editor/standardeditor~StandardEditor}),
 		 * however, it's required for features to work as their engine-related parts will try to connect converters.
 		 *
 		 * When defining a virtual editor class, like one working in Node.js, it's possible to plug a virtual

+ 1 - 1
packages/ckeditor5-core/src/keystrokehandler.js

@@ -11,7 +11,7 @@ import EmitterMixin from '../utils/emittermixin.js';
 import { getCode, parseKeystroke } from '../utils/keyboard.js';
 
 /**
- * Keystroke handler. Its instance is available in {@link module:core/editor/editor~Editor#keystrokes} so plugins
+ * Keystroke handler. Its instance is available in {@link module:core/editor/standardeditor~StandardEditor#keystrokes} so plugins
  * can register their keystrokes.
  *
  * E.g. an undo plugin would do this:

+ 3 - 5
packages/ckeditor5-core/src/plugin.js

@@ -63,15 +63,13 @@ export default class Plugin {
 	 * name and its constructor. If not, then only by its constructor.
 	 *
 	 * The name should reflect the package name + path to that module. E.g. `ckeditor5-image/src/image.js` plugin
-	 * should be named `ckeditor5-image/image`.
+	 * should be named `image/image` (the `ckeditor5-` prefix is stripped during compilation).
 	 *
 	 * To keep a plugin class definition tight it's recommended to define this property as a static getter:
 	 *
-	 *		import Image from './image.js';
-	 *
-	 *		export default class ImageCaption extends Plugin {
+	 *		export default class ImageCaption {
      *			static get pluginName() {
-     *				return 'ckeditor5-image/image';
+     *				return 'image/imagecaption';
      *			}
 	 *		}
 	 *

+ 1 - 1
packages/ckeditor5-core/src/plugincollection.js

@@ -48,7 +48,7 @@ export default class PluginCollection {
 	/**
 	 * Gets the plugin instance by its constructor or name.
 	 *
-	 * @param {Function|String} key The plugin constructor or {@link module:core/plugin~Plugin.plugiName name}.
+	 * @param {Function|String} key The plugin constructor or {@link module:core/plugin~Plugin.pluginName name}.
 	 * @returns {module:core/plugin~Plugin}
 	 */
 	get( key ) {