Skip to content

Rangy deserialize doesn't works as expected! #2

@Neernay

Description

@Neernay

hi..
i am trying to deserialize the selection after restoring the selection from DB which was saved while selecting the text.
But the Rangy deserialize is not working as it has to.
The serializeSelection returns something like this
' 2/5/3/5/1/2:0,13/5/3/5/1/2:24'
but when the same serialized selection is deserialized it throws the following error Error in Rangy Serializer module: deserializePosition failed: node <DIV>[7] has no child with index 13, 0

Any idea about it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions