Fixes @mention draft changes

This commit is contained in:
Josh Perez
2023-01-18 19:59:47 -05:00
committed by GitHub
parent fa938e8c7d
commit e3d9e6b906
3 changed files with 23 additions and 9 deletions

View File

@@ -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);