allow overriding emoji support detection
easrng opened this issue · comments
easrng commented
In my fork of Pinafore (which you used emoji-picker-element in) I've implemented a polyfill for unsupported Unicode emojis, which is working great, but I can't insert them with the picker. Ideally I'd be able to pass in a function overriding the default detector and a function that's called with a reference to newly-rendered emojis. Would you be open to a PR implementing this?
easrng commented
Actually I decided I'm going to use color fonts instead of images, so I don't need this, but it still seems wasteful to do detection multiple times.
Nolan Lawson commented
easrng commented
Yeah, I guess it is now.