Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Output formatted Mention value #5

Closed
AFSAngelo opened this issue Jun 27, 2019 · 6 comments
Closed

[Feature Request] Output formatted Mention value #5

AFSAngelo opened this issue Jun 27, 2019 · 6 comments
Assignees
Labels
enhancement New feature or request new feature

Comments

@AFSAngelo
Copy link

AFSAngelo commented Jun 27, 2019

After a user creates a Mention, it would be nice to be able to output that value to an element outside of a text area. For example, in the text-area I enter "Hi, @trickeyone thanks for making this awesome Angular component!", I'd like to output that to a regular HTML element, say a simple paragraph (i.e. <p>{{ model.value }}</p>), where then the mention is highlighted similar to how it is in the text area. An example would be how Slack displays the mention in a list after it's been entered in the text area. Thanks in advance and great work!

Version of Angular and ng-mentions:

Angular: 7.0

ng-mentions: 2.0.3

@trickeyone
Copy link
Collaborator

So, you're looking for a component that would format the content? I actually made something that works with this component for my work project that does that. I can look at adding a new component that does something similar.

@trickeyone trickeyone added enhancement New feature or request new feature labels Aug 17, 2019
@AFSAngelo
Copy link
Author

@trickeyone exactly, and that sounds great regarding the work project component. Thanks for the reply and let me know if there's any way I could help and/or just implement separately if you don't want to add it to the core project

@trickeyone
Copy link
Collaborator

trickeyone commented Sep 17, 2019

Hi @AFSAngelo, I didn't want you to think I'd forgot about this. Work and personal life have been crazy busy. I'll try to get to this sometime in the next month.

@trickeyone trickeyone self-assigned this Sep 17, 2019
@AFSAngelo
Copy link
Author

No worries at all! Thank you for the update!

@trickeyone
Copy link
Collaborator

Just an update, I haven't forgotten about this. I'm working on it and have it mostly done. Just having to revamp the demo site to accommodate multiple components. Should be up this weekend.

@AFSAngelo
Copy link
Author

Awesome, looking forward to it and hope you had a great weekend!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new feature
Projects
None yet
Development

No branches or pull requests

2 participants