Project: moodle
Issue MDL-45040: Atto: Selection reverts to previous selection on toolbar button press in WebKit browsers
This presents when a selection is made by dragging such that the cursor is outside of the editor when the mouse button is released. Repro steps: # Launch Atto. # Select some text, making sure that the cursor stays within the editor (a good way to do this is by double-clicking on a word). # Select some other text, dragging outside of the editor and releasing your mouse button. # Click a toolbar button. #* Observe that your selection reverted to the first thing you selected.
Story points: 5