You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I create an excalidraw plugin for display excalidraw file in a tab. But when close the tab, error occured.
I need to run root.unmount() before the element of content destroyed. Thx
Describe the optimal solution
Add an option in this.addTab(options),
// run this code beforeaddTab({/// ...beforeDestroy(){// unmount your app})}
changed the title [-]Plugin API: tab options 'beforeDestroy' to control react root unmount before tab element destroyed[/-][+]Plugin API tab options `beforeDestroy` to control react root unmount before tab element destroyed[/+]on Jun 13, 2023
Activity
🎨 siyuan-note/siyuan#8467
🎨 siyuan-note/siyuan#8467
🎨 #8467
[-]Plugin API: tab options 'beforeDestroy' to control react root unmount before tab element destroyed[/-][+]Plugin API tab options `beforeDestroy` to control react root unmount before tab element destroyed[/+]