docbrown/app/javascript/crayons/MentionAutocompleteTextArea
Suzanne Aitchison 6f057fc8ce
Add mention autocomplete to posts (#13101)
* WIP - initial exploration into post mentioon autocomplete

* replace the autosize textarea with mention autocomplete, adjusting height

* add cypress tests for mentioning in a post

* fix resizing of text areas

* refactor text area resize hook

* refactoring

* update cypress tests

* remove mergeRefs from utils, extract UserListItemContent

* allow useTextAreaAutoResize elements to have height greater than minimum, apply styles to container

* Trigger Travis CI

* Travis plz

* small refactors

* add comments and constants as per PR feedback

Co-authored-by: Nick Taylor <nick@dev.to>
2021-03-31 14:42:59 +01:00
..
__stories__ Remove buffer gem and related code: step 1 (#12993) 2021-03-24 09:58:38 +07:00
__tests__ Add mention autocomplete to posts (#13101) 2021-03-31 14:42:59 +01:00
index.js Update storybook mention autocomplete component to take over whole textarea (#13044) 2021-03-18 15:04:59 +00:00
MentionAutocompleteTextArea.jsx Add mention autocomplete to posts (#13101) 2021-03-31 14:42:59 +01:00
UserListItemContent.jsx Add mention autocomplete to posts (#13101) 2021-03-31 14:42:59 +01:00