You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I have a typescript github project which embedds drawio into it.
When I start my application the custom lib is always closed.
I tried various settings but it still closed when I start the application.
Has anyone an idea? Thanks for the help.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi
I have a typescript github project which embedds drawio into it.
When I start my application the custom lib is always closed.
I tried various settings but it still closed when I start the application.
Has anyone an idea? Thanks for the help.
private configureDrawio() { const configurationAction = { action: 'configure', config: { defaultFonts: [ "Humor Sans", "Helvetica", "Times New Roman" ], ui: 'min', // kennedy, atlas (default), dark and min darkMode: false, defaultLibraries: 'CoReTM', defaultCustomLibraries: ['CoReTM'], enabledLibraries: ['CoReTM'], expandLibraries: true, enableCustomLibraries: true, enableCssDarkMode: false, libraries: [{ "title": { "main": "CoReTM" }, "entries": [{ "id": "CoReTM", "title": { "main": "CoReTM", "de": "CoReTM" }, "desc": { "main": "CoReTM", "de": "CoReTM" }, "libs": [{ "title": { "main": "CoReTM", "de": "CoReTM" }, "data": coretm }] }] }], } } this.drawio.send(configurationAction); }
Beta Was this translation helpful? Give feedback.
All reactions