How to update items values for suggestion in Mention while Editing? #6135
Replies: 6 comments 1 reply
-
Same problem |
Beta Was this translation helpful? Give feedback.
-
@Nem-Tudo @bannarisoftwares Any of you figure this out? |
Beta Was this translation helpful? Give feedback.
-
No @andrictham |
Beta Was this translation helpful? Give feedback.
-
Has anyone figured it out? I am facing the same issue. How is this use case not covered? |
Beta Was this translation helpful? Give feedback.
-
Here, found the solution: https://codesandbox.io/s/suggestion-mention-update-list-xypnd3 By this awesome guy: https://discord.com/channels/818568566479257641/1050070455983296512/1055948369983443014 |
Beta Was this translation helpful? Give feedback.
-
@geekyayush Adding an arbitrary property to @andrictham and I got it working with Storage (and Typescript in our project, not included in this example): https://codesandbox.io/p/sandbox/tiptap-mentions-with-storage-6cxxyz https://tiptap.dev/docs/editor/guide/custom-extensions#storage The downside is having to coerce/cast the custom extension storage type: |
Beta Was this translation helpful? Give feedback.
-
What problem are you facing?
How to update items values for suggestion in Mention extension?
What’s the solution you would like to see?
I am not able to update the items values for suggestion in Mention extension while editing in tiptap editor.
What alternatives did you consider?
I tried to add callback function and passed into suggestion, but the values are still points to old item values.
Anything to add? (optional)
No response
Are you sponsoring us?
Beta Was this translation helpful? Give feedback.
All reactions