Andrew Nicols db97ff0ee6 MDL-46531 editor_atto: Handle a null selection better on colour change
Sadly, there is no easy way to do this. When a range is empty, we need to
create a new span, make the changes there, and then select it. Rangy does
not provide a helper to do this yet (will be in 1.3) so we have to do it
manually in the mean time.
2014-11-19 15:45:37 +08:00
..
2014-05-19 17:03:04 +01:00
2014-11-06 12:05:32 +08:00