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
feat: hide editor toolbar in readonly mode
thecodrr7f4faaad8952
diff --git a/apps/web/src/components/editor/index.js b/apps/web/src/components/editor/index.jsindex 76bea9b45..640e95cf3 100644--- a/apps/web/src/components/editor/index.js+++ b/apps/web/src/components/editor/index.js@@ -202,9 +202,10 @@ function Editor({ noteId, nonce }) {className="editorScroll"viewStyle={{ display: "flex", flexDirection: "column" }}>- <Flex+ <Boxid="editorToolbar"sx={{+ display: isReadonly ? "none" : "flex",bg: "background",position: "sticky",top: 0,