You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've pushed my progress to t/19 branch. We decided that we will leave this for now as the issue is bigger than it looked at the beginning.
Problem is that sometimes browser put selection inside contenteditable="false" element. I wanted to listen on selectionChange event and fix the selection before it is stored in model. Unfortunately, this causes some side-effects:
This happens:
Selection is dragged, it ends up inside nested editable, so it's fixed to select whole widget.
Selection is converted to model selection.
Model to view selection conversion is done, widget is selected, and selection is put inside fake selection container.
Selection is dragged further so 1st step occurs again.
In short, we are in a process of dragging selection in browser and at the same time we want to put selection inside fake selection container.
The text was updated successfully, but these errors were encountered: