I'm trying to get around a bug with the Kendo Editor control in Internet Explorer (tested in IE11).
JS Fiddle here:
https://jsfiddle.net/L5tvccd9/
Repro steps:
1. Click inside one word (e.g. "nine")
2. Select All (Ctrl+A, but it also happens with example select all from docs: http://docs.telerik.com/kendo-ui/api/javascript/ui/editor#methods-selectRange )
3. Click inside a different word (e.g. "five")
4. Press return on the keyboard
Expected behaviour is to insert a break inside the second selected word, where the caret correctly appears (e.g. "five")
Actual behaviour is to insert a break inside the first selected word, where the caret was before select all (e.g. "nine")
This also breaks a lot of other features, like setting the style buttons to the correct state because it doesn't know where the caret is.
A second click in the same location, or using the keyboard cursor keys etc. correctly sets the caret position.
Also reproducible on the demo control:
http://demos.telerik.com/kendo-ui/editor/index
Is there any fix or workaround for this?