Closed wpgn closed 3 years ago
here my code for some reason when i press enter it dont do anything.
$("#msg").emojioneArea({ placeholder: "Enter message", maxCount: 15, search: false, spellcheck: true, standalone: false, shortnames: false, shortcuts: false, autocomplete: true, autocorrect: false, autocapitalize: false, hideSource: false, recentEmojis: false, useInternalCDN: true, autocompleteTones: false, filtersPosition: "top", searchPosition: "bottom", tones: false, inline: true, tonesStyle: "bullet", hidePickerOnBlur: false, pickerPosition: "top", events: {keypress: function (editor, event) { if (event.which === 13) { document.getElementById("sendButton").click(); event.preventDefault(); } } } });`
is this a knowing issue as i seen a few posts about it, thanks.
ok it seams to be when i click on the area to send text and type message it and press enter it dont send but if i unclick the area and then reclick the area it will then send the message maybe a highlight bug ???
here my code for some reason when i press enter it dont do anything.