Thanks for this beautiful package :) I'm trying to use this package inside of an chrome extension. Meaning that a script that runs on a page, initializes emoji picker in a Shadow DOM.
Unfortunately the CSS of emoji picker appended into the document header.
Can we add a property so that Emoji Picker takes an optional parameter of HTMLElement, a reference, so that css will be appended there.
This would probably fix the issue :)
For now, after I initialize EmojiPicker, I will look for the style id="flairup-epr" and paste it into my shadow dom manually.
Hi there!
Thanks for this beautiful package :) I'm trying to use this package inside of an chrome extension. Meaning that a script that runs on a page, initializes emoji picker in a Shadow DOM.
Unfortunately the CSS of emoji picker appended into the document header.
Can we add a property so that Emoji Picker takes an optional parameter of HTMLElement, a reference, so that css will be appended there.
This would probably fix the issue :)
For now, after I initialize EmojiPicker, I will look for the style id="flairup-epr" and paste it into my shadow dom manually.
Thanks, Ugur