Created
December 18, 2020 18:41
-
-
Save nolanlawson/dbbd58202d4e893a82b263f8c5ef273a to your computer and use it in GitHub Desktop.
repro emoji-picker-element issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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