delete modal + btn

This commit is contained in:
nicwands
2026-05-07 13:11:16 -04:00
parent 1806a612b6
commit 75d3488de0
20 changed files with 329 additions and 55 deletions

View File

@@ -79,7 +79,9 @@ const ajv = new Ajv({ allErrors: true, strict: false });
const getDefaultConfig = () => {
return {
activeAdapter: "browser",
theme: "dark"
theme: "dark",
enableBlackletter: "true",
openNotesInNewWindow: "true"
};
};
const CONFIG_SCHEMA = {
@@ -313,6 +315,7 @@ class NotesAPI {
}
getNote(id) {
const note = this.notesCache.get(id);
console.log(this.notesCache, id);
return note ? { ...note } : null;
}
async createNote(metadata = {}, content = "", plainText = "") {