delicate but ok import
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user