[whatwg] [editing] Caret Position Access Methods

Ian Hickson ian at hixie.ch
Fri Jul 29 09:28:15 PDT 2011


On Fri, 29 Jul 2011, Dan Gisolfi wrote:
>
> On behalf of the Open Cooperative Web Framework Project ( 
> http://opencoweb.org), with respect to the HTML Editing APIs 
> specification (http://aryeh.name/spec/editing/editing.html), it would 
> seem the current version of the spec lacks APIs for getting / setting 
> the caret position.
> 
> An example scenario for such a requirement (addition of such methods) 
> would be the following: When developing an cooperative web enabled 
> rich-text-editor, whereby multiple simultaneous users can co-author 
> shared content, the editor must be able to allow each participant to 
> get/set caret/cursor position in order to reflect the multiple positions 
> of each active author in a cooperative web session.

Surely all but the local one would not be real carets?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list