瀏覽代碼

Fix link in API docs.

Maciej Gołaszewski 6 年之前
父節點
當前提交
43ede81cd4
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      packages/ckeditor5-mention/src/mention.js
  2. 1 1
      packages/ckeditor5-mention/src/mentionediting.js

+ 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