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
web: fix editor header title input not becoming readonly (#4064)
Muhammad Alid5a44067fd9f
diff --git a/apps/web/src/components/editor/toolbar.jsx b/apps/web/src/components/editor/toolbar.jsxindex 971ce7eef..b0ca17c33 100644--- a/apps/web/src/components/editor/toolbar.jsx+++ b/apps/web/src/components/editor/toolbar.jsx@@ -51,6 +51,7 @@ function Toolbar() {const sessionId = useStore((store) => store.session.id);const isDeleted = useStore((store) => store.session.isDeleted);const isLocked = useStore((store) => store.session.locked);+ const readonly = useStore((store) => store.session.readonly);const [isFullscreen, setIsFullscreen] = useState(false);const isFocusMode = useAppStore((store) => store.isFocusMode);const toggleFocusMode = useAppStore((store) => store.toggleFocusMode);@@ -227,6 +228,7 @@ function Toolbar() {}}transition={{ duration: 0.5 }}defaultValue={title}+ readOnly={readonly}onChange={(e) => {AppEventManager.publish(AppEvents.changeNoteTitle, {title: e.target.value,