delicate but ok import

This commit is contained in:
Bel LaPointe
2022-02-10 11:40:39 -07:00
parent b11c07e55a
commit ac5f86687c
4 changed files with 23 additions and 14 deletions

View File

@@ -126,7 +126,7 @@
throw `failed to push file ${id}: ${status}: ${body}`
}
drawTree()
drawFile(id)
//drawFile(id)
document.getElementById("saveFeedback").innerHTML = "success!"
if (saveFeedbackInterval) {
clearInterval(saveFeedbackInterval)
@@ -283,11 +283,11 @@
<article id="article" style="display: none">
<div>
<h1 style="display: flex; flex-direction: row;">
<input type="submit" value="DELETE" onclick="deleteFile(); return false;" style="margin-left: 5%; margin-right: 5%"/>
<input type="submit" value="SAVE" onclick="pushFile(); return false;" style="margin-left: 5%; margin-right: 5%"/>
<span id="titlePath">
</span>
<span id="title" contenteditable style="flex-grow: 1;"></span>
<input type="submit" value="SAVE" onclick="pushFile(); return false;"/>
<input type="submit" value="DELETE" onclick="deleteFile(); return false;"/>
</h1>
</div>
<div id="saveFeedback" style="min-height: 1.2em; text-align: right;">
@@ -323,7 +323,7 @@
link: ["[](", ")"],
},
lineNumbers: true,
lineWrapping: true,
lineWrapping: false,
uploadImage: true,
imageUploadEndpoint: "/api/v0/media", // POST wants {data: {filePath: "/..."}}
imagePathAbsolute: false,