setSelection does not work with inputStyle: “contenteditable”
see: http://plnkr.co/edit/PxNvYEnq4vKty0UHnYDd?p=preview
(which works if you remove inputStyle)
setSelection does not work with inputStyle: “contenteditable”
see: http://plnkr.co/edit/PxNvYEnq4vKty0UHnYDd?p=preview
(which works if you remove inputStyle)
Because selections in contenteditable mode are native browser selections, they aren’t visible unless the editor is focused.
got it, thx!