usage of mention plugin #3615
Closed
eric-therond
started this conversation in
Documentation
Replies: 2 comments 1 reply
-
You can extend the plugin where you define it. See this doc: https://platejs.org/docs/plugin-methods Code snippet:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
thank you @abhi-bc it's working well now |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I struggle to see how to use the last version of mention plugin.
In the previous versions of plate, it was really easy to pass the list of mentionable users as parameter of
MentionCombobox
, but now I don't know how to begin to have the same behavior withMentionInputElement
:It was also easy to customize how the label is rendered with
renderLabel
as prop ofcreateMentionPlugin
, same thing for thecreateMentionNode
as you can see in the code below. I have read the documentation which indicate to useeditor.api.insert.mention
but it's really difficult to understand how to use it.I will appreciate any help and examples on this subject.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions