Explorar el Código

Docs: Minor docs improvements.

Oskar Wróbel hace 8 años
padre
commit
8748c8f3ef

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

@@ -17,7 +17,7 @@ const DataInterface = {
 	/**
 	 * Sets the data in the editor's main root.
 	 *
-	 * @method module:core/editor/utils/datainterface~DataInterface#setData
+	 * @method #setData
 	 * @param {*} data The data to load.
 	 */
 	setData( data ) {
@@ -27,7 +27,7 @@ const DataInterface = {
 	/**
 	 * Gets the data from the editor's main root.
 	 *
-	 * @method module:core/editor/utils/datainterface~DataInterface#getData
+	 * @method #getData
 	 */
 	getData() {
 		return this.data.get();

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

@@ -20,7 +20,7 @@ const ElementInterface = {
 	 * The element on which the editor has been initialized.
 	 *
 	 * @readonly
-	 * @property module:core/editor/utils/elementinterface~ElementInterface#element
+	 * @property #element
 	 * @type {HTMLElement}
 	 */
 	element: null,
@@ -28,7 +28,7 @@ const ElementInterface = {
 	/**
 	 * Updates the {@link #element editor element}'s content with the data.
 	 *
-	 * @method module:core/editor/utils/elementinterface~ElementInterface#updateElement
+	 * @method #updateElement
 	 */
 	updateElement() {
 		setDataInElement( this.element, this.data.get() );
@@ -37,7 +37,7 @@ const ElementInterface = {
 	/**
 	 * Loads the data from the {@link #element editor element} to the main root.
 	 *
-	 * @method module:core/utils/elementinterface~ElementInterface#loadDataFromElement
+	 * @method #loadDataFromElement
 	 */
 	loadDataFromElement() {
 		this.data.set( getDataFromElement( this.element ) );