Set image URLs to absolute paths

This commit is contained in:
Leon Mika 2026-03-09 09:32:32 +11:00
parent 7c08e1fbe0
commit 499c0d8568
4 changed files with 78 additions and 7 deletions

View file

@ -14,11 +14,16 @@ export default class PosteditController extends Controller {
async save(ev) {
ev.preventDefault();
showToast({
title: "💾 Saving Post",
body: (this.saveActionValue === "Save Draft") ? "Saving post as draft…" : "Updating post…",
});
try {
await this._postForm(this.saveActionValue);
showToast({
title: "💾 Post Saved",
title: "💾 Saving Post",
body: (this.saveActionValue === "Save Draft") ? "Post saved as draft." : "Post updated.",
});
} catch (e) {