mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-24 15:39:44 +01:00
fix upload/download progress not working
This commit is contained in:
@@ -191,7 +191,7 @@ export const useAttachmentStore = create<AttachmentStore>((set, get) => ({
|
||||
tiny.call(EditorWebView, `
|
||||
(function() {
|
||||
let progress = ${JSON.stringify(progress)}
|
||||
tinymce.activeEditor.execCommand("mceUpdateAttachmentProgress",progress);
|
||||
tinymce.activeEditor._updateAttachmentProgress("mceUpdateAttachmentProgress",progress);
|
||||
})()`);
|
||||
set({ progress: { ..._p } });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user