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
update title placeholder on save note
Ammar Ahmed3631f59d4cd9
diff --git a/apps/mobile/src/screens/editor/tiptap/useEditor.ts b/apps/mobile/src/screens/editor/tiptap/useEditor.tsindex 39935a03e..2267b051b 100644--- a/apps/mobile/src/screens/editor/tiptap/useEditor.ts+++ b/apps/mobile/src/screens/editor/tiptap/useEditor.ts@@ -178,6 +178,9 @@ export const useEditor = (if (!note && id) {currentNote.current = db.notes?.note(id).data as NoteType;state.current?.onNoteCreated && state.current.onNoteCreated(id);+ if (!noteData.title) {+ postMessage(EditorEvents.titleplaceholder, currentNote.current.title);+ }}if (useEditorStore.getState().currentEditingNote !== id && isDefaultEditor) {