Skip to content

Commit f810deb

Browse files
committed
refactor: 增加 ImageUpload 回调
1 parent c43af81 commit f810deb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/BootstrapBlazor.SummerNote/Components/Editor/Editor.razor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export async function init(id, invoker, methodGetPluginAttrs, methodClickPluginI
145145
}
146146

147147
const reloadCallbacks = (id, option) => {
148-
const events = ['Blur', 'BlurCodeview', 'Change', 'ChangeCodeview', 'DialogShown', 'Enter', 'Focus', 'ImageLinkInsert', 'ImageUploadError', 'Init', 'Keydown', 'Keyup', 'Mousedown', 'Mouseup', 'Paste', 'Scroll'];
148+
const events = ['Blur', 'BlurCodeview', 'Change', 'ChangeCodeview', 'DialogShown', 'Enter', 'Focus', 'ImageUpload', 'ImageLinkInsert', 'ImageUploadError', 'Init', 'Keydown', 'Keyup', 'Mousedown', 'Mouseup', 'Paste', 'Scroll'];
149149

150150
events.forEach(event => {
151151
option.callbacks[`on${event}`] = function () {

0 commit comments

Comments
 (0)