logseq-banners-plugin
logseq-banners-plugin copied to clipboard
Default Journal Banner from local path won't load when coming back from another page
I've been experiencing the issue of re-loading the journal banner (defaultJournalBanner
) from a local path (under my Logseq's folder) - ../assets/notebook.jpg
.
Maybe it is related with these issues?
- https://github.com/yoyurec/logseq-banners-plugin/issues/61
- https://github.com/yoyurec/logseq-banners-plugin/issues/60
These issues were experienced differently, though.
The issue
Whenever I leave the journal page and come back to it, the banner (or lack of) from the previous page persists - the default journal page banner doesn't load again.
Context:
- I set the default journal banner as a local image (in my case
../assets/notebook.jpg
) - I have as default Logseq's home page the Journals page
- I restart Logseq and it loads the Journals page, or, on the Journals page, I restart the Banners plugin ✔ Journals default banner is loaded correctly
- I navigate to any other page with a different custom banner using
banner::
page property - I click on the Journals button ❌ It won't load the Journals default banner (it will maintain loaded the previous page's banner)
Note: I have disabled the other plugins and removed any style sheet in case that was affecting or causing this behavior.
Here are my settings.json
:
{
"generalHeading": null,
"hidePluginProps": true,
"widgetsCalendarHeading": null,
"widgetsCalendarEnabled": "off",
"widgetsCalendarWidth": "380px",
"widgetsWeatherHeading": null,
"widgetsWeatherEnabled": "off",
"widgetsWeatherID": "7QOWaH4IPGGaAr4puql2",
"widgetsQuoteHeading": null,
"widgetsQuoteEnabled": "off",
"widgetsQuoteTag": "#quote",
"widgetsQuoteMaxWidth": "48ch",
"widgetsQuoteSize": "100%",
"widgetsCustomHeading": null,
"widgetsCustomEnabled": "off",
"widgetsCustomCode": "<iframe id=\"banner-widgets-pomo\" src=\"https://pomofocus.io/app\"></iframe>",
"journalHeading": null,
"defaultJournalBanner": "../assets/notebook.jpg",
"journalBannerHeight": "280px",
"journalBannerAlign": "40%",
"defaultJournalIcon": "",
"journalIconWidth": "50px",
"pageHeading": null,
"defaultPageBanner": "",
"pageBannerHeight": "280px",
"pageBannerAlign": "50%",
"defaultPageIcon": "",
"pageIconWidth": "40px",
"advancedHeading": null,
"customPropsConfig": {
"pageType": {
"evrgrn": {
"pageIcon": "🌳",
"banner": "https://images.unsplash.com/photo-1502082553048-f009c37129b9?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80",
"bannerHeight": "200px",
"bannerAlign": "50%"
},
"seed": {
"pageIcon": "🌱",
"banner": "https://images.unsplash.com/photo-1631949454967-6c6d07fb59cd?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80",
"bannerHeight": "200px",
"bannerAlign": "50%"
}
},
"anotherCamalCasedPropName": {}
},
"additional": {
"quoteWidget": {
"cleanupRegExps_before": [],
"cleanupRegExps_after": []
}
},
"disabled": false
}
Same issue here!