Explorar o código

Fix link in API docs.

Maciej Gołaszewski %!s(int64=6) %!d(string=hai) anos
pai
achega
43ede81cd4

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

@@ -225,6 +225,6 @@ export default class Mention extends Plugin {
  * @interface module:mention/mention~MentionAttribute
  * @property {String} id Id of a mention - identifies the mention item in mention feed.
  * @property {String} _uid Internal mention view item id. Should be passed as an `option.id` when using
- * {@link module:engine/model/writer~Writer#createAttributeElement writer.createAttributeElement()}.
+ * {@link module:engine/view/downcastwriter~DowncastWriter#createAttributeElement writer.createAttributeElement()}.
  * @property {String} _text Helper property that holds text of inserted mention. Used for detecting broken mention in the editing area.
  */

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

@@ -73,7 +73,7 @@ export function _addMentionAttributes( baseMentionData, data ) {
  * Creates mention attribute value from provided view element and optional data.
  *
  * This function is exposed as
- * {@link module:mention/mention~Mention#toWidgetAttribute `editor.plugins.get( 'Mention' ).toWidgetAttribute()`}.
+ * {@link module:mention/mention~Mention#toMentionAttribute `editor.plugins.get( 'Mention' ).toMentionAttribute()`}.
  *
  * @protected
  * @param {module:engine/view/element~Element} viewElementOrMention