Questions tagged [mention]

For tagging users or profile in text body based on delimiters like `@` or `#` similar to Twitter or Facebook.

There are several applications that enable developers to parse text and then link to users or profiles based on delimiters such as @ or # in the text body, eg, in a textarea.

162 questions
21
votes
1 answer

Implement @mention in TextInput

How can I implement @mention in react native's TextInput? I've tried this react-native-mention but it is not being maintained anymore. There are so many styling issues and callback issues. What I want is to display custom view inside TextInput.…
Sagar Chavada
  • 5,169
  • 7
  • 40
  • 67
11
votes
4 answers

How do I mention a role with Discord.js?

I am making a bot and I am trying to Ping a certain role. Here is the relevant code: let msga = msg.author; msg.channel.send("@NES Found one!! " + msga); @NES is the role I am trying to ping/mention.
RtHAitP30D
  • 306
  • 3
  • 6
  • 19
8
votes
0 answers

React native Facebook like @mentions

Any one implemented a TextInput with @mentions like how it does in face book and twitter? I've tried https://github.com/harshq/react-native-mentions but deleting is not handled.
7
votes
0 answers

How to get URN of members/organizations for LinkedIn Mentions

How can I implement a mention without knowing the URN of a member/organization on a LinkedIn UGC post. Documentation states that you need to provide the URN of the member / organization you are mentioning. Is there anyone who have implemented…
Tashi
  • 103
  • 4
5
votes
1 answer

Draftjs mention plugin with browserify

I tried to get the mention plugin in draft-js get working with Browserify. This is because of the fact that our application is build with Browserify. It's about this plugin: https://www.draft-js-plugins.com/plugin/mention In the examples they are…
sneeky
  • 1,458
  • 2
  • 13
  • 19
4
votes
1 answer

Mention list and emoji top position (Draft.js)

Will you please help me how I can change its position from bottom to top? I want to show mention list on top of the text instead of the bottom. The same question about emoji list. Example link.
Hasnain Shafqat
  • 118
  • 2
  • 9
4
votes
1 answer

Failed to execute 'setStart' on 'Range': parameter 1 is not of type 'Node' issue while using @mentio more than one in a page?

I'm using textAngular Wysiwyg/Text-Editor with @mentio library, when i used directive more than one in one html page its causing issue. I tried to use context-editor for mention id still could not resolve the problem
4
votes
0 answers

How do I use @mention in textAngular directive in angular JS

I'm using textAngular Wysiwyg/Text-Editor, I'm trying to add @mention library to below code, I'm not sure how do I use two directive in same div: text-angular-toolbar class="toolbar button-toolbar" name="workingOn"…
4
votes
0 answers

Preflight OPTIONS request returns status 405

I am currently developing a dashboard which consumes the Mention API. However, I am having difficulties due to the CORS policy. If the dashboard is opened on Chrome or another browser that has a strict CORS policy, they make a preflight OPTIONS…
Kazimieras
  • 607
  • 4
  • 14
4
votes
1 answer

jquery.mentionsInput and ckEditor

This is just to help the people who is looking for something like mentions in ckeditor. I modified jquery.mentionsInput to work together with ckEditor and .. It is working :) You can see this online: http://jsfiddle.net/us6qo3Lc/ (type:…
Diogo
  • 41
  • 3
3
votes
1 answer

flutter test enterText on widget extending EditableText "Bad state: No element" : building editable text for mention

I have a class that extends EditableText, which provides styled editing - colour spans and so on. The parent widget has a bool flag to use default TextInput or the custom one that extends EditableText. Testing works fine for the default one: final…
bionara
  • 228
  • 1
  • 10
3
votes
6 answers

Discord.js mentioning

client.on('message', message => { if (message.content === `L!hug`) { if (!message.mentions.users.size) { return message.reply('you need to tag a user in order to hug them!!'); const taggeduser =…
FBILOLIGIRL
  • 69
  • 2
  • 3
  • 12
3
votes
1 answer

How to implement user mentions in messages on Flutter?

I need to implement user mentions in the message as in popular messengers on Flutter. It’s necessary that when I click on a certain button in the input field a widget appears with the name and image of the user whom I mentioned. I tried…
3
votes
1 answer

Autocomplete functionality for textarea in angular 4

I am working on chatting application. so here I am doing @ functionality for text area means, while clicking @ button or writing @ one autocomplete list should open. That will contain username for a tag. I have got an idea in jQuery but I want to do…
Ankit Patel
  • 31
  • 1
  • 6
3
votes
2 answers

At.js Mentions Callbacks and Duplicates

Anyone experience with At.js that can help out? I'm trying to: Get the inserted mentions in an array so that they can then be processed with PHP Prevent duplicate entries (not sure where to start with this one) Little experience with Javascript…
Georg
  • 610
  • 2
  • 8
  • 22
1
2 3
10 11