@ckeditor/ckeditor5-mention 48.1.1 → 48.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/mentionconfig.d.ts +6 -6
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -676,7 +676,7 @@ const defaultCommitKeyCodes = [
|
|
|
676
676
|
* @inheritDoc
|
|
677
677
|
*/ destroy() {
|
|
678
678
|
super.destroy();
|
|
679
|
-
// Destroy created UI components as they are not automatically destroyed (see ckeditor5
|
|
679
|
+
// Destroy created UI components as they are not automatically destroyed (see https://github.com/ckeditor/ckeditor5/issues/1341).
|
|
680
680
|
this._mentionsView.destroy();
|
|
681
681
|
}
|
|
682
682
|
/**
|
|
@@ -693,7 +693,7 @@ const defaultCommitKeyCodes = [
|
|
|
693
693
|
mentionsView.items.bindTo(this._items).using((data)=>{
|
|
694
694
|
const { item, marker } = data;
|
|
695
695
|
const { dropdownLimit: markerDropdownLimit } = this._mentionsConfigurations.get(marker);
|
|
696
|
-
// Set to 10 by default for backwards compatibility. See:
|
|
696
|
+
// Set to 10 by default for backwards compatibility. See: https://github.com/ckeditor/ckeditor5/issues/10479
|
|
697
697
|
const dropdownLimit = markerDropdownLimit || this.editor.config.get('mention.dropdownLimit') || 10;
|
|
698
698
|
if (mentionsView.items.length >= dropdownLimit) {
|
|
699
699
|
return null;
|