mirror of
https://github.com/jvsteiner/send-note.git
synced 2026-07-22 11:20:26 +00:00
0.3.20
Add callout fold/unfold
This commit is contained in:
commit
d5eeefdce0
5 changed files with 10 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -20,3 +20,5 @@ data.json
|
|||
|
||||
# Exclude macOS Finder (System Explorer) View States
|
||||
.DS_Store
|
||||
|
||||
test
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "share-note",
|
||||
"name": "Share Note",
|
||||
"version": "0.3.19",
|
||||
"version": "0.3.20",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Share a note publicly with full styling. Data is shared encrypted by default and only you have the key.",
|
||||
"author": "Alan Grainger",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "share-note",
|
||||
"version": "0.3.19",
|
||||
"version": "0.3.20",
|
||||
"description": "Share a note publicly with full styling. Data is stored encrypted on the server and only you have the key.",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ const html = `
|
|||
position: fixed !important;
|
||||
}
|
||||
</style>
|
||||
<script src="https://file.obsidianshare.com/assets/app.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="app-container">
|
||||
|
|
@ -117,11 +118,14 @@ const html = `
|
|||
const contentEl = document.getElementById('template-user-data')
|
||||
if (contentEl) contentEl.outerHTML = data.content
|
||||
document.title = data.basename
|
||||
initDocument()
|
||||
})
|
||||
.catch(() => {
|
||||
const contentEl = document.getElementById('template-user-data')
|
||||
if (contentEl) contentEl.innerHTML = 'Unable to decrypt using this key.'
|
||||
})
|
||||
} else {
|
||||
initDocument()
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -39,5 +39,6 @@
|
|||
"0.3.16": "0.15.0",
|
||||
"0.3.17": "0.15.0",
|
||||
"0.3.18": "0.15.0",
|
||||
"0.3.19": "0.15.0"
|
||||
"0.3.19": "0.15.0",
|
||||
"0.3.20": "0.15.0"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue