Fixes @mention draft changes
This commit is contained in:
parent
fa938e8c7d
commit
e3d9e6b906
3 changed files with 23 additions and 9 deletions
|
@ -112,7 +112,7 @@ export function CompositionTextArea({
|
|||
// was modifying text in the middle of the editor
|
||||
// a better solution would be to prevent the change to begin with, but
|
||||
// quill makes this VERY difficult
|
||||
inputEl.setText(newValueSized, true);
|
||||
inputEl.setContents(newValueSized, bodyRanges, true);
|
||||
}
|
||||
}
|
||||
setCharacterCount(newCharacterCount);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue