-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
storing selection objects #279
Comments
Probably, the serializer module is what I want. The |
Debugging this right now. It turns out that
is empty. Investigating why that might be... |
Hi ! I wan't exactly the same feature. I guess serializer module (you can test it https://rangy.googlecode.com/svn/trunk/demos/serializer.html) is not a good idea because it depends on the browser the client uses. |
Well I have found a workaround, but maybe it won't satisfied you.
My case the document is an SVG, this idea works for html too. Here is the code
You store this dynamic div in database, and dynamix load it in your page. It will get the highlight of users (if they do not connect the same time on your website) |
I've added |
While trying to work around bug #282, I realized that the introduced methods |
@andrenarchy Good point. I've updated the documentation. |
I would like to store a selection objects as retrieved from
rangy.getSelection()
for later highlighting. Shallow copyingwon't do to the trick, and also lodash's
clone
doesn't seem to work. Any hints?
The text was updated successfully, but these errors were encountered: