Commit afb34aa
fix: cursor position when inserting image (software-mansion#337)
Fixes: software-mansion#329
1. Go to Example app
2. Add `<html><p><img src="https://picsum.photos/id/1/200/200"
width="200" height="200"/></p></html>` through `Set input's value`
button
3. See that cursor is applied after image
Before:
https://github.com/user-attachments/assets/258132ae-1bf4-43e5-b08f-b8ade46ade67
After:
https://github.com/user-attachments/assets/6dede546-471c-489c-81e5-7e36f80377d4
| OS | Implemented |
| ------- | :---------: |
| iOS | ✅ |
| Android | ❌ |1 parent da34766 commit afb34aa
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
851 | 851 | | |
852 | 852 | | |
853 | 853 | | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
854 | 857 | | |
855 | 858 | | |
856 | 859 | | |
| |||
887 | 890 | | |
888 | 891 | | |
889 | 892 | | |
| 893 | + | |
890 | 894 | | |
891 | 895 | | |
892 | 896 | | |
| |||
911 | 915 | | |
912 | 916 | | |
913 | 917 | | |
| 918 | + | |
914 | 919 | | |
915 | 920 | | |
916 | 921 | | |
| |||
1332 | 1337 | | |
1333 | 1338 | | |
1334 | 1339 | | |
| 1340 | + | |
1335 | 1341 | | |
1336 | 1342 | | |
1337 | 1343 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
0 commit comments