diff --git a/frontend/src/plugins/DrawioPlugin.js b/frontend/src/plugins/DrawioPlugin.js index 23da3404..f5fdf892 100644 --- a/frontend/src/plugins/DrawioPlugin.js +++ b/frontend/src/plugins/DrawioPlugin.js @@ -67,6 +67,7 @@ Plugin.load = async (el, repo, path) => { el.onload = function () { const resize = () => { this.height = this.contentDocument.documentElement.scrollHeight + 'px' + this.contentDocument.body.style.height = this.contentDocument.body.clientHeight + 'px' appVm.$bus.emit('resize') } @@ -83,7 +84,7 @@ Plugin.load = async (el, repo, path) => { el.srcdoc = ` ${div.outerHTML}