* Revert "Revert "Add (updated) mention autocomplete to post comments (#13061)" (#13116)"
This reverts commit e28bde043c.
* Fix issues with editing comments and arrow key navigation, update tests
* Update app/javascript/crayons/MentionAutocompleteTextArea/MentionAutocompleteTextArea.jsx
Co-authored-by: Nick Taylor <nick@forem.com>
* refactor adding of attributes
* destructure
Co-authored-by: Nick Taylor <nick@forem.com>
39 lines
931 B
JSON
39 lines
931 B
JSON
{
|
|
"result": [
|
|
{
|
|
"username": "search_user_1",
|
|
"name": "Search user 1",
|
|
"profile_image_90": "/images/apple-icon.png"
|
|
},
|
|
{
|
|
"username": "search_user_2",
|
|
"name": "Search user 2",
|
|
"profile_image_90": "/images/apple-icon.png"
|
|
},
|
|
{
|
|
"username": "search_user_3",
|
|
"name": "Search user 3",
|
|
"profile_image_90": "/images/apple-icon.png"
|
|
},
|
|
{
|
|
"username": "search_user_4",
|
|
"name": "Search user 4",
|
|
"profile_image_90": "/images/apple-icon.png"
|
|
},
|
|
{
|
|
"username": "search_user_5",
|
|
"name": "Search user 5",
|
|
"profile_image_90": "/images/apple-icon.png"
|
|
},
|
|
{
|
|
"username": "search_user_6",
|
|
"name": "Search user 6",
|
|
"profile_image_90": "/images/apple-icon.png"
|
|
},
|
|
{
|
|
"username": "search_user_7",
|
|
"name": "Search user 7",
|
|
"profile_image_90": "/images/apple-icon.png"
|
|
}
|
|
]
|
|
}
|