8
0
Просмотр исходного кода

Docs: Minor API docs fix. [skip ci]

Piotrek Koszuliński 8 лет назад
Родитель
Сommit
1b36d477e8

+ 14 - 0
packages/ckeditor5-core/src/editor/editor.js

@@ -232,3 +232,17 @@ mix( Editor, EmitterMixin );
  *
  * @event destroy
  */
+
+/**
+ * Additional data built into the editor class. It's used while bundling the editor in order to provide
+ * the default set of plugins and config options which are later used during editor initialization.
+ *
+ * Two properties are supported:
+ *
+ * * `plugins` – an array of plugin constructors. They will be automatically initialized by the editor, unless listed
+ * in `config.removePlugins` or unless `config.plugins` is passed.
+ * * `config` – the defalt config options.
+ *
+ * @static
+ * @member {Object} module:core/editor/editor~Editor.build
+ */

+ 2 - 2
packages/ckeditor5-core/src/editor/standardeditor.js

@@ -41,10 +41,10 @@ export default class StandardEditor extends Editor {
 		this.editing = new EditingController( this.document );
 
 		/**
-		 * Instance of the {@link module:core/keystrokehandler~KeystrokeHandler}.
+		 * Instance of the {@link module:core/editingkeystrokehandler~EditingKeystrokeHandler}.
 		 *
 		 * @readonly
-		 * @member {module:core/keystrokehandler~KeystrokeHandler}
+		 * @member {module:core/editingkeystrokehandler~EditingKeystrokeHandler}
 		 */
 		this.keystrokes = new EditingKeystrokeHandler( this );