-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Labels
Description
I have a situation where I want to be about to have text input that looks like this:
I believe @andrew likes cars more then toys, while @jill33 wants toys over cars.
but I want the raw output to look something like this:
[
'I believe ',
{id: 1, firstName: 'Andrew', username: 'andrew' },
' likes cars more then toys, whille ',
{id: 3, firstName: 'Jill', username: 'jill33'},
' wants toys over cars.'
]This way, I can submit the raw output to a database and can always re-render the users based on their ID. This way if Andrew renames himself to Draw, I can make this changes to the old content.
Thoughts on that posibility?
Gitesh-Narula