tagify icon indicating copy to clipboard operation
tagify copied to clipboard

Paste Event is not fired with mode select

Open Tim-Obert opened this issue 1 year ago • 3 comments

As seen in the demo page. The paste event is not fired with the options enforceWhitelist: true and mode: "select".

Prerequisites

  • [x] I am running the latest version
  • [x] I checked the documentation and found no answer
  • [x] I checked to make sure that this issue has not already been filed

Demo Page

https://jsbin.com/hukokuduxa/6/edit?html,js,output

Tim-Obert avatar Dec 20 '24 11:12 Tim-Obert

Did you try with 4.33.0? Also this could be related to something in #1410 if I'm not wrong (@yairEO I don't remember but this could be included in some of the fixes)

And a happy new year to everyone! 🎉

Massi-X avatar Jan 03 '25 12:01 Massi-X

Yes tried with 4.33.0. The Problem is still present.

Tim-Obert avatar Jan 07 '25 11:01 Tim-Obert

I've fixed this now and will deploy in a new version soon.

FYI: if pasteAsTags setting is set to true and enforceWhitelist is also set to true then the pasted content will be automatically be converted to a tag and if that tag is invalid (does not exists in the whitelist for example) then it will be remove immediately

yairEO avatar Jan 10 '25 16:01 yairEO