|
|
|
|
|
by marijn
3954 days ago
|
|
> don't the coordinates of the cursor position depend on the rendering of the text which is under the browser's control? Yes, but you can ask the browser (using `getBoundingClientRect` and `getClientRects`, which also exist for text range object on all halfway modern browsers.) Or you can insert the caret element inline at the correct place. What would be hard about showing a selection from another person? |
|