소스 검색

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'
 		} );