SYNC: configurable export watermark

This commit is contained in:
SPRINX0\prochazka
2025-04-01 10:40:45 +02:00
committed by Diflow
parent 3f98f9ff39
commit 4bc9b70882
4 changed files with 25 additions and 4 deletions

View File

@@ -195,8 +195,8 @@ module.exports = {
},
exportDiagram_meta: true,
async exportDiagram({ filePath, html, css, themeType, themeClassName }) {
await fs.writeFile(filePath, getDiagramExport(html, css, themeType, themeClassName));
async exportDiagram({ filePath, html, css, themeType, themeClassName, watermark }) {
await fs.writeFile(filePath, getDiagramExport(html, css, themeType, themeClassName, watermark));
return true;
},