Set image URLs to absolute paths
This commit is contained in:
parent
7c08e1fbe0
commit
499c0d8568
4 changed files with 78 additions and 7 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue