瀏覽代碼

Another fix for mention-custom-view.

Maciej Gołaszewski 6 年之前
父節點
當前提交
e4e23ca41c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-mention/tests/manual/mention-custom-view.js

+ 1 - 1
packages/ckeditor5-mention/tests/manual/mention-custom-view.js

@@ -56,7 +56,7 @@ class CustomMentionAttributeView extends Plugin {
 					class: 'mention',
 					'data-mention': modelAttributeValue.name,
 					'href': modelAttributeValue.link
-				} );
+				}, { id: modelAttributeValue._id } );
 			},
 			converterPriority: 'high'
 		} );