Przeglądaj źródła

Docs: Fixed invalid docs.

Oskar Wróbel 8 lat temu
rodzic
commit
65f343af10

+ 2 - 2
packages/ckeditor5-core/src/editor/utils/attachtoform.js

@@ -7,7 +7,7 @@ import isFunction from '@ckeditor/ckeditor5-utils/src/lib/lodash/isFunction';
 import CKEditorError from '@ckeditor/ckeditor5-utils/src/ckeditorerror';
 
 /**
- * @module core/editor/utils
+ * @module core/editor/utils/attachtoform
  */
 
 /**
@@ -16,7 +16,7 @@ import CKEditorError from '@ckeditor/ckeditor5-utils/src/ckeditorerror';
  *
  * This helper requires {@link module:core/editor/utils/elementinterface~ElementInterface ElementInterface}.
  *
- * @param {module:core/editor/editor} editor Editor instance.
+ * @param {module:core/editor/editor~Editor} editor Editor instance.
  */
 export default function attachToForm( editor ) {
 	if ( !isFunction( editor.updateElement ) ) {

+ 1 - 1
packages/ckeditor5-core/src/editor/utils/datainterface.js

@@ -11,7 +11,7 @@
  * Interface provides methods for setting and getting data to/from editor main root element of the model tree
  * using {@link module:core/editor/editor~Editor#data data pipeline}.
  *
- * @mixin module:core/editor/utils/datainterface~DataInterface
+ * @mixin DataInterface
  */
 const DataInterface = {
 	/**

+ 2 - 3
packages/ckeditor5-core/src/editor/utils/elementinterface.js

@@ -13,15 +13,14 @@ import setDataInElement from '@ckeditor/ckeditor5-utils/src/dom/setdatainelement
 /**
  * Interface provides method for setting and getting data from/to element on which editor has been initialized.
  *
- * @mixin module:core/editor/utils/elementinterface~ElementInterface
+ * @mixin ElementInterface
  */
 const ElementInterface = {
 	/**
 	 * The element on which the editor has been initialized.
 	 *
 	 * @readonly
-	 * @property #element
-	 * @type {HTMLElement}
+	 * @member {HTMLElement} #element
 	 */
 	element: null,