Open vectorsize opened 12 years ago
Awesome work dude. Regarding extracting operations... here's a starting point.
Whoever is first on this. :)
My next actions are implementing the new Composer layout and get comment functionality in.
Cool! I'll look into it, for now I'm passing a dummy operation with the event, u can see the logger for more info. Gotta go no! :)
Go go go! :) I take it over.
Also note, the blur event we mentioned, trigger when clicking outside the gray zone, not only the text part!
So, I just pushed what I have so far of the new implementation using contenteditable and rangy for consistent ranges. There are many things not ready so far, like deleting annotations, or generating a delta based on the old and new text etc... However I must leave now, so I decided to push it so that you can start polaying around with it @michael . I also hope is clear enough for working with it. FYI there are still some position bugs regarding offsets and spans and stuff.