-
Notifications
You must be signed in to change notification settings - Fork 263
Open
Description
I want to add support for the paste event in magicsuggest.
I added this code to magicsuggest.js:
ms.container.on('paste', $.proxy(handlers._onPaste, this));
...
_onPaste: function (e) {
ms.expandForPasteEvent();
},
...
this.expandForPasteEvent = function () {
if (!cfg.expanded) {
this.combobox.appendTo(this.container);
self._processSuggestions();
cfg.expanded = true;
$(this).trigger('expand', [this]);
}
};
But it doesn't work in every case. Maybe there's an easier way to do it?
Metadata
Metadata
Assignees
Labels
No labels