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
886 stars 76 forks source link

[Bug] [1.8.01]: Folding Headings enabled, even when Allow folding headings is false #493

Open cinemakinoeye opened 2 months ago

cinemakinoeye commented 2 months ago

What happened?

When I disable "Allow folding headings" under Page Behaviors in Settings, I expect headings in the output to NOT have the twistdown button, but they do have the fold open/close button in the output web site. Changing this setting does not change the functioning of headings in the output pages.

Settings: settingsVersion ------------- 1.8.01 allowFoldingHeadings -------- false

Reproduction

Export site, upload to server, click on heading. The folding headings are active.

Last Working Version

No response

Version

1.8.01

Operating System

MacOS 14.6.1

Obsidian Version

Obsidian v1.6.7

Which browsers can you reproduce this in?

Chrome

Relevant log output


Settings:
    settingsVersion ------------- 1.8.01
    makeOfflineCompatible         true
    inlineAssets ---------------- false
    includePluginCSS              1 plugins included
    includeSvelteCSS ------------ true
    titleProperty                 title
    customHeadContentPath -------
    faviconPath                   /Users/david-tames/Library/CloudStorage/Dropbox/Northeastern/Classes/Class Folders/2024-09-Fall/ARTD 3480 Video Sound+Image/favicon.ico
    documentWidth --------------- 40em
    sidebarWidth                  20em
    minOutlineCollapse ---------- 2
    startOutlineCollapsed         false
    allowFoldingHeadings -------- false
    allowFoldingLists             false
    allowResizingSidebars ------- true
    logLevel                      warning
    minifyHTML ------------------ true
    makeNamesWebStyle             true
    onlyExportModified ---------- false
    deleteOldFiles                true
    addThemeToggle -------------- true
    addOutline                    true
    addFileNav ------------------ true
    addSearchBar                  true
    addGraphView ---------------- true
    addTitle                      true
    addRSSFeed ------------------ true
    siteURL                       https://writingwithacamera.com/
    authorName ------------------ David Tamés
    vaultTitle                    writingwithacamera.com
    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 ------------------ /Users/david-tames/Documents/writingwithacamera-EXPORT
    filesToExport                 20
    inlineCSS ------------------- false
    inlineJS                      false
    inlineImages ---------------- false
    sidebarsAlwaysCollapsible     false
    addFilenameTitle ------------ false
    customLineWidth              
    contentWidth ----------------
    incrementalExport             false
    deleteOldExportedFiles ------ false
    addDarkModeToggle             true
    includeOutline -------------- true
    includeGraphView              false
    includeFileTree ------------- true

Enabled Plugins:
    Importer
    Webpage HTML Export
    Editor Syntax Highlight
    Editing Toolbar
    Omnisearch

Additional Info

No response

KosmosisDire commented 2 months ago

Thanks, have you tested this in the beta version? There are instructions in the readme for installing the beta

cinemakinoeye commented 2 months ago

I just tested it with the beta version, and it had the same behavior (I double-checked that I cleared the browser cache, and verified that I saw the newly uploaded website).

KosmosisDire commented 2 months ago

Thanks for testing, I'll make sure I can reproduce and fix this in the next beta

cinemakinoeye commented 2 months ago

You can see the problem in action at: https://writingwithacamera.com/welcome.html

If you can't reproduce this on your end, let me know if there is anything else I can provide you with.

KosmosisDire commented 2 months ago

I was able to reproduce and fix this, should be out in the next release.