Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
repro emoji-picker-element issue
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Repro emoji picker element issue</title>
</head>
<body>
<script type="module" src="https://cdn.jsdelivr.net/npm/emoji-picker-element@^1/index.js"></script>
<emoji-picker>
</emoji-picker>
<script type="module">
document.querySelector('emoji-picker').customEmoji = [
{
name: 'Firefox',
shortcodes: ['firefox'],
url: 'https://raw.githubusercontent.com/alrra/browser-logos/main/src/firefox/firefox_64x64.png'
}
]
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment