@ -39,8 +39,7 @@ export class OpenEditPage {
|
|||||||
contentToSave += this.content;
|
contentToSave += this.content;
|
||||||
const encodedContent = btoa(new TextEncoder().encode(contentToSave).reduce((data, byte) => data + String.fromCharCode(byte), ""));
|
const encodedContent = btoa(new TextEncoder().encode(contentToSave).reduce((data, byte) => data + String.fromCharCode(byte), ""));
|
||||||
|
|
||||||
console.log(encodedContent);
|
await get(pageRepo).updatePage(this.pageId, this.sha, encodedContent, this.manager.branch);
|
||||||
//await get(pageRepo).updatePage(this.pageId, this.sha, encodedContent, this.manager.branch);
|
|
||||||
this.dirty = false;
|
this.dirty = false;
|
||||||
this.manager.reloadImages();
|
this.manager.reloadImages();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user