diff --git a/src/js/core/range.js b/src/js/core/range.js
index <HASH>..<HASH> 100644
--- a/src/js/core/range.js
+++ b/src/js/core/range.js
@@ -618,7 +618,7 @@ define([
         if (dom.isBR(ec)) {
           eo = dom.listPrev(ec).length - 1;
           ec = ec.parentNode;
-        } else if (dom.isVoid(ec) || dom.isImg(sc)) {
+        } else if (dom.isVoid(ec)) {
           eo = dom.listPrev(ec).length;
           ec = ec.parentNode;
         }
[IMP] summernote: dom.isImg is unnecessary, because isVoid function contains that.