KosmosisDire / obsidian-webpage-export

Export html from single files, canvas pages, or whole vaults. Direct access to the exported HTML files allows you to publish your digital garden anywhere. Focuses on flexibility, features, and style parity.
https://docs.obsidianweb.net/
MIT License
824 stars 69 forks source link

[Bug] [1.8.1-2b]: The Encore theme breaks plugin load #480

Closed Seudonym closed 1 month ago

Seudonym commented 1 month ago

What happened?

Installing the beta version from BRAT causes the plugin to not start at all. No icon on the ribbon, or in the context menus for the export modal. The console shows this: image

Reproduction

  1. Install BRAT from the community plugins tab
  2. Select Add beta plugin and add https://github.com/KosmosisDire/obsidian-webpage-export
  3. Let it install and restart Obsidian

Last Working Version

No response

Version

1.8.1-2b

Operating System

Ubuntu 22.04

Obsidian Version

1.6.7

Which browsers can you reproduce this in?

No response

Relevant log output

Log:
[INFO]  Including stylesheet: css-settings-manager

Settings:
    settingsVersion --------- 1.8.1-2b
    makeOfflineCompatible     false
    inlineAssets ------------ false
    includePluginCSS          []
    includeSvelteCSS -------- true
    titleProperty             title
    customHeadContentPath ---
    faviconPath              
    documentWidth ----------- 40em
    sidebarWidth              20em
    minOutlineCollapse ------ 2
    startOutlineCollapsed     false
    relativeOutlineLinks ---- false
    allowFoldingHeadings      true
    allowFoldingLists ------- true
    allowResizingSidebars     true
    logLevel ---------------- warning
    minifyHTML                true
    makeNamesWebStyle ------- true
    onlyExportModified        true
    deleteOldFiles ---------- true
    addThemeToggle            true
    addOutline -------------- true
    addFileNav                true
    addSearchBar ------------ true
    addGraphView              true
    addTitle ---------------- true
    addRSSFeed                true
    siteURL -----------------
    authorName               
    vaultTitle -------------- vault
    exportPreset              website
    openAfterExport --------- false
    graphAttractionForce      1
    graphLinkLength --------- 10
    graphRepulsionForce       150
    graphCentralForce ------- 3
    graphEdgePruning          100
    graphMinNodeSize -------- 3
    graphMaxNodeSize          7
    showDefaultTreeIcons ---- false
    emojiStyle                Native
    defaultFileIcon --------- lucide//file
    defaultFolderIcon         lucide//folder
    defaultMediaIcon -------- lucide//file-image
    exportPath               
    filesToExport ----------- 0
    filePickerBlacklist       [
    filePickerWhitelist ----- [

Enabled Plugins:
    Admonition
    Advanced Tables
    Omnisearch
    Style Settings
    Discord Rich Presence
    Editing Toolbar
    Execute Code
    BRAT
    Webpage HTML Export

Additional Info

No response

KosmosisDire commented 1 month ago

Can you try doing this with the default theme selected? What theme are you using?

Seudonym commented 1 month ago

It works when using the default theme and a few other ones as well. I was using Encore before

Seudonym commented 1 month ago

While the export is working fine with other themes, I have another issue where the graph view does not work. On clicking any node, I get a page not found error.

KosmosisDire commented 1 month ago

Can you create a new issue for the graph view problem and include screenshots and error logs (ctrl + shift + i). I will look into fixing the issue with the encore theme.

Seudonym commented 1 month ago

Newest beta works well. I am closing the issue.