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
Is your feature request related to a problem? Please describe.
When install a new plugin, it requires reload. But if lazy load a plugin, it shouldn't, because it is send from the nodejs server, which is safe.
I want to delay the loading and executing of tw-react, WYSIWYG-editor, whiteboard plugin, when using nodejs server for blogging. So initial load will be smaller, and reader can still see the whiteboard.
Describe the solution you'd like
Allow bypass Require-Reload when using some $tw.wiki API to lazy load JS modules
Allow trigger lazy-load of plugin when a widget, filter operator, macro is being used
Describe alternatives you've considered
What I'm currently doing is exclude these large size plugins when deploying a blog.
Or like mermaid-tw5-lite version, that load JS from CDN. Maybe I can release a Whiteboard-light plugin, that load JS from CDN, and only take effect when Whiteboard-full version is not present. So it work both offline and online.
Additional context
Just find Whiteboard doesn't work on my blog, because I exclude it. Everything works on your blog should have been an advantage when compare to Obsidian, whose plugins doesn't work on the blog.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When install a new plugin, it requires reload. But if lazy load a plugin, it shouldn't, because it is send from the nodejs server, which is safe.
I want to delay the loading and executing of tw-react, WYSIWYG-editor, whiteboard plugin, when using nodejs server for blogging. So initial load will be smaller, and reader can still see the whiteboard.
Describe the solution you'd like
$tw.wiki
API to lazy load JS modulesDescribe alternatives you've considered
What I'm currently doing is exclude these large size plugins when deploying a blog.
Or like mermaid-tw5-lite version, that load JS from CDN. Maybe I can release a Whiteboard-light plugin, that load JS from CDN, and only take effect when Whiteboard-full version is not present. So it work both offline and online.
Additional context
Just find Whiteboard doesn't work on my blog, because I exclude it. Everything works on your blog should have been an advantage when compare to Obsidian, whose plugins doesn't work on the blog.
The text was updated successfully, but these errors were encountered: