Parcourir la source

Docs: More improvements.

Szymon Cofalik il y a 6 ans
Parent
commit
50bf6d6758
1 fichiers modifiés avec 2 ajouts et 3 suppressions
  1. 2 3
      packages/ckeditor5-editor-decoupled/src/decouplededitor.js

+ 2 - 3
packages/ckeditor5-editor-decoupled/src/decouplededitor.js

@@ -184,12 +184,11 @@ export default class DecoupledEditor extends Editor {
 	 * @param {HTMLElement|String} sourceElementOrData The DOM element that will be the source for the created editor
 	 * or the editor's initial data.
 	 *
-	 * If a DOM element is passed, its content will be automatically
-	 * {@link module:editor-decoupled/decouplededitor~DecoupledEditor#initData loaded} to the editor upon initialization.
+	 * If a DOM element is passed, its content will be automatically loaded to the editor upon initialization.
 	 * Moreover, the editor data will be set back to the original element once the editor is destroyed.
 	 *
 	 * If the initial data is passed, a detached editor will be created. In this case you need to insert it into the DOM manually.
-	 * It is available under {@link module:editor-classic/classiceditorui~DecoupledEditorUI#element `editor.ui.element`} property.
+	 * It is available under {@link module:editor-decoupled/decouplededitorui~DecoupledEditorUI#element `editor.ui.element`} property.
 	 *
 	 * @param {module:core/editor/editorconfig~EditorConfig} [config] The editor configuration.
 	 * @returns {Promise} A promise resolved once the editor is ready. The promise resolves with the created editor instance.