Hashtags coming in mentions object in delta quill object #307
Unanswered
darshakeyan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to maintain two different object for user mentions and hashtags in quill mention !
How this will be achieved in quill mention
Current Quill Delta Object -
{ "ops": [ { "insert": "here is the mentions " }, { "insert": { "mention": { "index": "0", "denotationChar": "", "id": "645f298d7615ab7e78d95a9e", "value": "Clementina Danvers" } } }, { "insert": " \nhere is the hashtags " }, { "insert": { "mention": { "index": "0", "denotationChar": "", "id": "1", "value": "office" } } }, { "insert": " \n" } ] }
what I want in quill delta object
{ "ops": [ { "insert": "here is the mentions " }, { "insert": { "mention": { "index": "0", "denotationChar": "", "id": "645f298d7615ab7e78d95a9e", "value": "Clementina Danvers" } } }, { "insert": " \nhere is the hashtags " }, { "insert": { "hashtag": { "index": "0", "denotationChar": "", "id": "1", "value": "office" } } }, { "insert": " \n" } ] }
Beta Was this translation helpful? Give feedback.
All reactions