Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit f50db9c

Browse files
authored
Feature: Implemented debounced mechanism for requesting a mention feed. Closes ckeditor/ckeditor5#4619.
2 parents d4aa594 + f677cd9 commit f50db9c

File tree

12 files changed

+807
-76
lines changed

12 files changed

+807
-76
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"@ckeditor/ckeditor5-core": "^16.0.0",
1414
"@ckeditor/ckeditor5-ui": "^16.0.0",
1515
"@ckeditor/ckeditor5-typing": "^16.0.0",
16-
"@ckeditor/ckeditor5-utils": "^16.0.0"
16+
"@ckeditor/ckeditor5-utils": "^16.0.0",
17+
"lodash-es": "^4.17.10"
1718
},
1819
"devDependencies": {
1920
"@ckeditor/ckeditor5-basic-styles": "^16.0.0",
@@ -31,6 +32,7 @@
3132
"eslint-config-ckeditor5": "^2.0.0",
3233
"husky": "^1.3.1",
3334
"lint-staged": "^7.0.0",
35+
"lodash": "^4.17.11",
3436
"stylelint": "^11.1.1",
3537
"stylelint-config-ckeditor5": "^1.0.0"
3638
},

src/mentionediting.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export function _addMentionAttributes( baseMentionData, data ) {
8181
* @protected
8282
* @param {module:engine/view/element~Element} viewElementOrMention
8383
* @param {String|Object} [data] Mention data to be extended.
84-
* @return {module:mention/mention~MentionAttribute}
84+
* @returns {module:mention/mention~MentionAttribute}
8585
*/
8686
export function _toMentionAttribute( viewElementOrMention, data ) {
8787
const dataMention = viewElementOrMention.getAttribute( 'data-mention' );

0 commit comments

Comments
 (0)