docker-drawio
docker-drawio copied to clipboard
Custom plugins in self-contained drawio?
Hello! Is it possible to enable custom plugins in self-contained draw-io? I've checked sources, seems there is window.ALLOW_CUSTOM_PLUGINS variable, but it is not clear if it is possible to enable it and if it will allow custom plugins in self-contained draw-io? There is nothing about it in docker-entrypoint.sh
hello, i have the same question. Has anyone managed to install custom plugins on selfhosted drawio?
by modification of main/docker-entrypoint.sh by adding into PreConfig.js: window.ALLOW_CUSTOM_PLUGINS = true it is preferable if it will be added into baseline docker-entrypoint.sh, with additional ENV variable to make such option configurable. But I didn't find the way to raise such PR.
I'm using this option as an appendix to DRAWIO_CONFIG (injection attack yes). Seems working.