Skip to content

Commit

Permalink
feat: enable import or export libraries #15
Browse files Browse the repository at this point in the history
  • Loading branch information
lee88688 committed Mar 7, 2024
1 parent 4af1b2f commit e18f8bf
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/DrawioManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class UrlConfig {
embed = '1'
proto = 'json'
spin = '1'
libraries = '1'

constructor() {
this.ui = logseq.settings?.ui ?? UiMode.Kennedy
Expand Down Expand Up @@ -53,13 +54,7 @@ interface ExportEvent {
}

class ConfigManager {
urlConfig: UrlConfig = {
ui: UiMode.Kennedy,
dark: DarkMode.Auto,
embed: '1',
proto: 'json',
spin: '1'
}
urlConfig = new UrlConfig()

constructor(private baseUrl: string) {}

Expand Down

0 comments on commit e18f8bf

Please sign in to comment.