8
0
Pārlūkot izejas kodu

Fix documentation issues.

Maciej Gołaszewski 6 gadi atpakaļ
vecāks
revīzija
e8dde37dd6

+ 2 - 0
packages/ckeditor5-mention/docs/features/mention.md

@@ -40,6 +40,8 @@ ClassicEditor
 	.catch( ... );
 ```
 
+## Configuration
+
 ## Common API
 
 The {@link module:mention/mention~Mention} plugin registers:

+ 1 - 1
packages/ckeditor5-mention/src/mention.js

@@ -59,7 +59,7 @@ export default class Mention extends Plugin {
  * @property {Array.<module:mention/mention~MentionFeedItem>|Function} feed The auto complete feed items. Provide an array for
  * static configuration or a function that returns a promise for asynchronous feeds.
  * @property {Number} [minimumCharacters=0] Specifies after how many characters show the autocomplete panel.
- * @property {Function} [itemRenderer] Function that renders {module:mention/mention~MentionFeedItem}
+ * @property {Function} [itemRenderer] Function that renders {@link module:mention/mention~MentionFeedItem}
  * to the autocomplete list to a DOM elemnt.
  */
 

+ 2 - 2
packages/ckeditor5-mention/src/mentionui.js

@@ -250,7 +250,7 @@ export default class MentionUI extends Plugin {
 	 * @private
 	 * @param {String} marker
 	 * @param {Number} minimumCharacters
-	 * @returns {TextWatcher}
+	 * @returns {module:mention/textwatcher~TextWatcher}
 	 */
 	_setupTextWatcherForFeed( marker, minimumCharacters ) {
 		const editor = this.editor;
@@ -301,7 +301,7 @@ export default class MentionUI extends Plugin {
 	 *
 	 * @private
 	 * @param {String} marker
-	 * @returns {TextWatcher}
+	 * @returns {module:mention/textwatcher~TextWatcher}
 	 */
 	_getWatcher( marker ) {
 		const { watcher } = this._mentionsConfigurations.get( marker );