projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90e2d4a
)
Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
author
Alan
<alan@roojs.com>
Fri, 17 Feb 2023 04:50:55 +0000
(12:50 +0800)
committer
Alan
<alan@roojs.com>
Fri, 17 Feb 2023 04:50:55 +0000
(12:50 +0800)
Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
b/Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
index
108c250
..
e7732f7
100644
(file)
--- a/
Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
+++ b/
Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
@@
-270,7
+270,8
@@
Roo.extend(Roo.bootstrap.form.HtmlEditorToolbar.Standard, Roo.bootstrap.nav.Simp
return;
}
editor.insertAtCursor('<img src="' + reader.result +'">');
- editor.owner.fireEvent('editorevent', editor, false);
+ editor.owner.fireEvent('editorevent', editor.owner, false);
+ editor.owner.fireEvent('imageadd', editor.owner, false);
}).createDelegate(this));
reader.readAsDataURL(f);