-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't cut and paste user pills in the composer #11378
Comments
Indeed. I suppose we could intercept the |
Fixed by matrix-org/matrix-react-sdk#3828 |
Reports are it doesn't work |
The PR works (mostly) locally, just not on /develop at all. Looks like there's at least one bug where the deletion doesn't work fully and leaves a 0-length string in the composer. Am working on it. |
The previous function did in fact remove the elements, but left the model thinking there was a zero-length string. This approach deletes the text from the model and the DOM, resulting in the placeholder being shown when cutting all the text. Part of element-hq/element-web#11378
Closing because the bug is actually fixed, it just wasn't deployed to /develop. matrix-org/matrix-react-sdk#3848 fixes a regression caused by matrix-org/matrix-react-sdk#3828 |
Often I'll write a message in one room then realise it's better placed in another. When cutting or copying messages with pills to the clipboard, it seems they're reduced to plaintext. It's a pain to have to go through the message and manually replace the pills after pasting.
The text was updated successfully, but these errors were encountered: