Skip to content
Snippets Groups Projects
Commit 89d8bad1 authored by jojohoch's avatar jojohoch
Browse files

[player] Fix unstable behavior when marking text

When the user exits selecting between paragraphs, the offset of the
end container is set to 0. In Firefox this always (in Chrome sometimes)
leads to a misinterpretation of the selection. Therefore, the offset
is manipulated.

When the user finishes selecting between paragraphs and the selection
happens from back to front, Firefox does not consider the start
container as a selected child node. Therefore, it is added to the
list of selected nodes at the beginning.
parent 342a44db
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment