Preflight Checklist
- [x ] I agree to follow the Code of Conduct that this project adheres to.
- [x ] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
Describe the bug
A clear and concise description of what the bug is.
When developing new plugins on Windows, there is a fault where the plugin can only load the first time when rebooting draw.io.
To Reproduce
Steps to reproduce the behavior:
- Make a js test plugin with this code:
Draw.loadPlugin(function(ui) {
console.log('Plugin initialized');
}
- Load the plugin by going to Extras>Plugins>Add>External Plugins>Select File and choose your file
- Close and relaunch drawio, making a new blank diagram. Check Help>DeveloperTools>Console and see the log message works
- Close and relaunch drawio a second time, making a new blank diagram. Check Help>DeveloperTools>Console and see the log message is not present, and so the plugin has not loaded. Open Extras>Plugins to see the plugin still shows as listed.
Expected behavior
A plugin that is added and says it is loaded in the dialog persists across sessions.
Screenshots
If applicable, add screenshots to help explain your problem.
draw.io version (In the Help->About menu of the draw.io editor):
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Done using a fresh install with default settings, beyond running with the --enable-plugins argument
Preflight Checklist
You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
Describe the bug
A clear and concise description of what the bug is.
When developing new plugins on Windows, there is a fault where the plugin can only load the first time when rebooting draw.io.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A plugin that is added and says it is loaded in the dialog persists across sessions.
Screenshots
If applicable, add screenshots to help explain your problem.
draw.io version (In the Help->About menu of the draw.io editor):
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Done using a fresh install with default settings, beyond running with the --enable-plugins argument