A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: complete editor default session
thecodrr5a29be856dd2
diff --git a/apps/web/src/stores/editor-store.js b/apps/web/src/stores/editor-store.jsindex bbf5f436f..9b43cac8c 100644--- a/apps/web/src/stores/editor-store.js+++ b/apps/web/src/stores/editor-store.js@@ -8,13 +8,24 @@ import Vault from "../common/vault.js";const SESSION_STATES = { stale: "stale", new: "new" };const DEFAULT_SESSION = {- id: 0,- timeout: undefined,+ notebook: undefined,state: SESSION_STATES.new,+ isSaving: false,title: "",- content: { delta: { ops: [] }, text: "" },+ timeout: 0,+ id: "",+ pinned: false,+ favorite: false,+ locked: false,tags: [],- colors: []+ colors: [],+ dateEdited: 0,+ content: {+ text: "",+ delta: {+ ops: []+ }+ }};class EditorStore extends BaseStore {session = DEFAULT_SESSION;