Fixed issue where the caret could get lost if contents was inserted at the end of the editor.
Fixed issue where the caret could get lost if contents was inserted at the end of the editor.

tinymce/tinymce,Shopify/tinymce,sachgits/tinymce,endjin/tinymce,leofeyer/tinymce,widgetfactory/tinymce,tinymce/tinymce,danchr/tinymce,bsuh/tinymce,1099511627776/tinymce,nbcp/tinymce,ETSI-CTI/TinySpecMCE,gabixdev/tinymce,VioletLife/tinymce,henrythewasp/tinymce,mplank/tinymce,howanghk/tinymce,support-dot-com/tinymce,Razzwan/tinymce,shilpi230/tinymce,sjbufton/tinymce,danielpunkass/tinymce,Razzwan/tinymce,toxalot/tinymce,gencer/tinymce,shilpi230/tinymce,ChristophKaser/tinymce,howanghk/tinymce,nikolas/tinymce,rbecheras/tinymce,TeamupCom/tinymce,toxalot/tinymce,henrythewasp/tinymce,leofeyer/tinymce,fhchina/tinymce,nbcp/tinymce,widgetfactory/tinymce,ETSI-CTI/TinySpecMCE,endjin/tinymce,danielpunkass/tinymce,fashionsun/tinymce,ikuchmin/tinymce,simachewh/tinymce,TeamupCom/tinymce,rednose-public/tinymce,ice8lue/tinymce,adaptiffdesigns/tinymce,fillabs/TinySpecMCE,1099511627776/tinymce,FernCreek/tinymce,cclaerhout/tinymce,support-dot-com/tinymce,kencheung/tinymce,sjbufton/tinymce,ikuchmin/tinymce,FernCreek/tinymce,fillabs/TinySpecMCE,Zimbra/tinymce,enfold/tinymce,collective/tinymce,FernCreek/tinymce,Zimbra/tinymce,nikolas/tinymce,tinymce/tinymce,simachewh/tinymce,bsuh/tinymce,danchr/tinymce,rednose-public/tinymce,rxl194/tinymce,sachgits/tinymce,enfold/tinymce,pmpl-5/tinymce,ChristophKaser/tinymce,gabixdev/tinymce,cclaerhout/tinymce,ice8lue/tinymce,VioletLife/tinymce,rxl194/tinymce,M4R7iNP/tinymce,danielpunkass/tinymce,blakewallan/tinymce,MediehusetTek/tinymce,aduth/tinymce,fashionsun/tinymce,kencheung/tinymce,dziemian007/tinymce,MediehusetTek/tinymce,rbecheras/tinymce,mplank/tinymce,aduth/tinymce,jashua212/tinymce,fhchina/tinymce,jashua212/tinymce,dziemian007/tinymce,Kindling/tinymce,gencer/tinymce,collective/tinymce,adaptiffdesigns/tinymce,pmpl-5/tinymce,jtark/tinymce,M4R7iNP/tinymce,jtark/tinymce,Kindling/tinymce,blakewallan/tinymce