8
0
Piotrek Koszuliński 7 лет назад
Родитель
Сommit
9ddf0aa21f
1 измененных файлов с 4 добавлено и 3 удалено
  1. 4 3
      packages/ckeditor5-editor-classic/src/classiceditor.js

+ 4 - 3
packages/ckeditor5-editor-classic/src/classiceditor.js

@@ -67,7 +67,7 @@ export default class ClassicEditor extends Editor {
 		}
 		}
 
 
 		/**
 		/**
-		 * The element replacer instance used to hide the editor source element.
+		 * The element replacer instance used to hide the editor's source element.
 		 *
 		 *
 		 * @protected
 		 * @protected
 		 * @member {module:utils/elementreplacer~ElementReplacer}
 		 * @member {module:utils/elementreplacer~ElementReplacer}
@@ -93,7 +93,7 @@ export default class ClassicEditor extends Editor {
 	/**
 	/**
 	 * Destroys the editor instance, releasing all resources used by it.
 	 * Destroys the editor instance, releasing all resources used by it.
 	 *
 	 *
-	 * Updates the source editor element with the data.
+	 * Updates the editor's source element with the data.
 	 *
 	 *
 	 * @returns {Promise}
 	 * @returns {Promise}
 	 */
 	 */
@@ -168,7 +168,7 @@ export default class ClassicEditor extends Editor {
 	 * @param {HTMLElement|String} sourceElementOrData The DOM element that will be the source for the created editor
 	 * @param {HTMLElement|String} sourceElementOrData The DOM element that will be the source for the created editor
 	 * or editor's initial data.
 	 * or editor's initial data.
 	 *
 	 *
-	 * If an element is passed, then its contents will be automatically
+	 * If a source element is passed, then its contents will be automatically
 	 * {@link module:editor-classic/classiceditor~ClassicEditor#setData loaded} to the editor on startup
 	 * {@link module:editor-classic/classiceditor~ClassicEditor#setData loaded} to the editor on startup
 	 * and the {@link module:core/editor/editorwithui~EditorWithUI#element editor element} will replace the passed element in the DOM
 	 * and the {@link module:core/editor/editorwithui~EditorWithUI#element editor element} will replace the passed element in the DOM
 	 * (the original one will be hidden and editor will be injected next to it).
 	 * (the original one will be hidden and editor will be injected next to it).
@@ -181,6 +181,7 @@ export default class ClassicEditor extends Editor {
 	 * (by accessing the {@link module:editor-classic/classiceditor~ClassicEditor#element `editor.element`} property).
 	 * (by accessing the {@link module:editor-classic/classiceditor~ClassicEditor#element `editor.element`} property).
 	 *
 	 *
 	 * See the examples above to learn more.
 	 * See the examples above to learn more.
+	 *
 	 * @param {module:core/editor/editorconfig~EditorConfig} config The editor configuration.
 	 * @param {module:core/editor/editorconfig~EditorConfig} config The editor configuration.
 	 * @returns {Promise} A promise resolved once the editor is ready.
 	 * @returns {Promise} A promise resolved once the editor is ready.
 	 * The promise returns the created {@link module:editor-classic/classiceditor~ClassicEditor} instance.
 	 * The promise returns the created {@link module:editor-classic/classiceditor~ClassicEditor} instance.