Re:Ritzy – A collaborative web-based rich text editor
by rocketraman on Monday August 24, 2015 @09:28PM
(#10113920)
Not "hard" as such. Just requires a completely separate code path than the local cursor and selection machinery. That isn't too much of a barrier though... I look forward to its implementation in Prosemirror!
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?