Describe the bug
On startup Obsidian does not enable this plugin. Manually enabling on the list of installed plugins fails and shows a "Failed to enable plugin" toast. Going into the Community Plugin list and pressing the enable button there causes the same error, but the plugin enables and functions correctly despite the error.
To Reproduce
Steps to reproduce the behavior:
Install the latest Obsidian (1.0.3) on Windows or Linux
Install the latest version of this plugin
Attempt to enable the plugin
See error in console
app.js:1 Plugin failure: obsidian-plantuml DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
at r4.<anonymous> (app://obsidian.md/app.js:1:1032505)
at app://obsidian.md/app.js:1:235201
at Object.next (app://obsidian.md/app.js:1:235306)
at a (app://obsidian.md/app.js:1:234045)
Expected behavior
I expect the plugin to be enabled on startup.
Describe the bug On startup Obsidian does not enable this plugin. Manually enabling on the list of installed plugins fails and shows a "Failed to enable plugin" toast. Going into the Community Plugin list and pressing the enable button there causes the same error, but the plugin enables and functions correctly despite the error.
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect the plugin to be enabled on startup.
Environment: