Commit a164a66
fix: paste moving the cursor to the end of the input element (#515)
* Fix pasting always putting the cursor at the end of the input element.
* Fix for when you copy a mention only (pastedData is an empty string). Try this by putting the cursor in a mention (without selecting any text) and copy, and then paste.1 parent 94105bd commit a164a66
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
389 | 400 | | |
390 | 401 | | |
391 | 402 | | |
| |||
0 commit comments