-
Notifications
You must be signed in to change notification settings - Fork 125
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
How to Deserialize the selected Range? #1
Comments
Try this, var highlightRange = rangy.deserializeSelection(selectedrange); |
Hi, Please Help me for this issue. Bijaya Guin |
Can you send me some code? Not sure what you're doing to get that error. |
Hi, var highlightRange = rangy.deserializeSelection(selectedrange); then am getting this error:: One thing i noticed, when i select some content from webview it gives a serialized String value. if again i am Thank you, |
Hi BijayaGuin did you got any solution for deserialize? I am also having the same problem. btate, can you help? Thanks! |
Hi,
This is a amazing work in android webview. Thanks for the effort. Presently I am try to make a selection in webview and save it in the android DB. I am able to save the serialized string from your code but I am not able to deserialize the string. I am getting this error
"Uncaught Error: INDEX_SIZE_ERR: DOM Exception 1"
when I call the rangy.deserialize(selectedrange).
Please help me to save and highlight the text in webview by using your excellent idea.
Thank You,
Abu Saad Papa
The text was updated successfully, but these errors were encountered: