Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
CTRL + A on selected image moves the caret to the beginning of the editor #465
Steps to reproduce
Selection shows up for a moment, then breaks and the caret moves to the beginning of the editor.
OS: Windows 10, MacOS X
That's because when the user presses Ctrl+A the browser creates such a selection:
<p>[foo</p> <image/> <div hidden-selection-container>image widget]</div>
And then we remove the hidden selection container because we notice that the fake selection is gone.
I can imagine a couple of solutions: