-
-
Notifications
You must be signed in to change notification settings - Fork 153
mention plugin improvements #383
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
base: master
Are you sure you want to change the base?
Conversation
@snewcomer is attempting to deploy a commit to the dargo's projects Team on Vercel. A member of the Team first needs to authorize it. |
</span> | ||
|
||
{showMenu && ( | ||
<div role="listbox" aria-activedescendant={`mention-item-${highlightedIndex}`} className="mention-menu"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this use <Portal? Currently no positional information in this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually we might need a new UI component for ListItem
or the like.
|
||
interface MentionRenderProps extends PluginElementRenderProps { | ||
initialMentions: string[]; | ||
fetchMentions: (query: string) => Promise<string[]>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we give the possibility to override this ? I might want to group mentions
Description
mention component implementation
Fixes #114
Type of change
Please tick the relevant option.
Checklist: