delete modal + btn
This commit is contained in:
@@ -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 = "") {
|
||||
|
||||
Reference in New Issue
Block a user