Sfoglia il codice sorgente

Docs: Improved the editor-ui-deprecated-editable-elements warning.

Aleksander Nowodzinski 6 anni fa
parent
commit
42085fcc9f
1 ha cambiato i file con 6 aggiunte e 6 eliminazioni
  1. 6 6
      packages/ckeditor5-core/src/editor/editorui.js

+ 6 - 6
packages/ckeditor5-core/src/editor/editorui.js

@@ -154,16 +154,16 @@ export default class EditorUI {
 	 */
 	 */
 	get _editableElements() {
 	get _editableElements() {
 		/**
 		/**
-		 * The `EditorUI#_editableElements` property has been deprecated and will be removed in the near future.
-		 * Please use {@link #setEditableElement `setEditableElement()`} and {@link #getEditableElement `getEditableElement()`}
-		 * methods instead.
+		 * The {@link module:core/editor/editorui~EditorUI#_editableElements `EditorUI#_editableElements`} property has been
+		 * deprecated and will be removed in the near future. Please use {@link #setEditableElement `setEditableElement()`} and
+		 * {@link #getEditableElement `getEditableElement()`} methods instead.
 		 *
 		 *
-		 * @warning editor-ui-deprecated-editable-elements
-		 * @param {module:core/editor/editorui~EditorUI} editorUI Editor UI instance the property belongs to.
+		 * @error editor-ui-deprecated-editable-elements
+		 * @param {module:core/editor/editorui~EditorUI} editorUI Editor UI instance the deprecated property belongs to.
 		 */
 		 */
 		log.warn(
 		log.warn(
 			'editor-ui-deprecated-editable-elements: ' +
 			'editor-ui-deprecated-editable-elements: ' +
-			'The EditorUI#_editableElements property has been deprecated and will be remove in the near future.',
+			'The EditorUI#_editableElements property has been deprecated and will be removed in the near future.',
 			{ editorUI: this } );
 			{ editorUI: this } );
 
 
 		return this._editableElementsMap;
 		return this._editableElementsMap;