Roo/HtmlEditorCore.js
authorAlan <alan@roojs.com>
Fri, 31 Dec 2021 03:23:53 +0000 (11:23 +0800)
committerAlan <alan@roojs.com>
Fri, 31 Dec 2021 03:23:53 +0000 (11:23 +0800)
Roo/HtmlEditorCore.js

index da537aa..2b53d77 100644 (file)
@@ -607,10 +607,11 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
                     return;
                 }
                 var fig  = Roo.htmleditor.BlockFigure({
-                    
+                    image_src  : img.src
                 });
+                fig.updateElement(img); // replace it..
                 
-            })
+            });
         }