We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7d62cf commit 210351cCopy full SHA for 210351c
jquery.mentionsInput.js
@@ -160,6 +160,7 @@
160
mentionText = mentionText.replace(/ {2}/g, ' '); //Replace the 2 preceding token to
161
162
elmInputBox.data('messageText', syntaxMessage); //Save the messageText to elmInputBox
163
+ elmInputBox.trigger('updated');
164
elmMentionsOverlay.find('div').html(mentionText); //Insert into a div of the elmMentionsOverlay the mention text
165
}
166
@@ -208,6 +209,7 @@
208
209
// Mentions and syntax message
210
var updatedMessageText = start + mention.value + ' ' + end;
211
elmInputBox.val(updatedMessageText); //Set the value to the txt area
212
+ elmInputBox.trigger('mention');
213
updateValues();
214
215
// Set correct focus and selection
0 commit comments