-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: onEnterKey bug in TwemojiTextarea
- Loading branch information
1 parent
ddc5b83
commit ac251d3
Showing
7 changed files
with
36 additions
and
11 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,17 +5,17 @@ | |
<title>Vanilla Sandbox Example</title> | ||
<meta charset="UTF-8" /> | ||
<script type="text/javascript" src="https://unpkg.com/[email protected]/dist/vue.runtime.js"></script> | ||
<script type="text/javascript" src="./dist/vue-twemoji-picker.min.js"></script> | ||
<script type="text/javascript" src="https://unpkg.com/@kevinfaguiar/[email protected]/dist/vue-twemoji-picker.min.js"></script> | ||
<script type="text/javascript"> | ||
document.addEventListener('DOMContentLoaded', function () { | ||
(async () => { | ||
const fetchedDataAllResponse = await fetch( | ||
"https://unpkg.com/@kevinfaguiar/vue-twemoji-picker@5.4.0/emoji-data/en/emoji-all-groups.json" | ||
"https://unpkg.com/@kevinfaguiar/vue-twemoji-picker@5.5.1/emoji-data/en/emoji-all-groups.json" | ||
); | ||
window.EmojiDataAll = await fetchedDataAllResponse.json(); | ||
|
||
const fetchedGroupsResponse = await fetch( | ||
"https://unpkg.com/@kevinfaguiar/vue-twemoji-picker@5.4.0/emoji-data/emoji-groups.json" | ||
"https://unpkg.com/@kevinfaguiar/vue-twemoji-picker@5.5.1/emoji-data/emoji-groups.json" | ||
); | ||
window.EmojiGroups = await fetchedGroupsResponse.json(); | ||
|
||
|
@@ -36,7 +36,12 @@ | |
propsData: { | ||
emojiData: window.EmojiDataAll, | ||
emojiGroups: window.EmojiGroups, | ||
maxlength: 5 | ||
maxlength: 5, | ||
pickerArrowEnabled: false, | ||
idTextarea: "idTextarea", | ||
pickerWidth: "#idTextarea", | ||
skinsSelection: true, | ||
enableSendBtn: true, | ||
} | ||
}); | ||
|
||
|
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
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
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
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