Roo/htmleditor/KeyEnter.js
authorAlan <alan@roojs.com>
Fri, 24 Dec 2021 06:47:35 +0000 (14:47 +0800)
committerAlan <alan@roojs.com>
Fri, 24 Dec 2021 06:47:35 +0000 (14:47 +0800)
Roo/htmleditor/KeyEnter.js

index f0917a0..82ff4a4 100644 (file)
@@ -85,7 +85,7 @@ Roo.htmleditor.KeyEnter.prototype = {
         var sel = this.core.win.getSelection();
         sel.removeAllRanges();
         sel.addRange(range);
-        
+        sel.collapseToEnd();
     
         return false;