Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: content is not selectable in readonly mode

thecodrrf68d27854034
diff --git a/apps/web/src/components/editor/index.js b/apps/web/src/components/editor/index.js
index a760e4569..45a4cbe88 100644
--- a/apps/web/src/components/editor/index.js
+++ b/apps/web/src/components/editor/index.js
@@ -255,7 +255,7 @@ function Editor({ noteId, nonce }) {
)}
<Flex
variant="columnFill"
- className="editor"
+ className="selectable editor"
sx={{
alignSelf: [
"stretch",
@@ -307,6 +307,7 @@ export default Editor;
function Notice({ title, subtitle, onCancel, action }) {
return (
<Flex
+ className="selectable"
bg="bgSecondary"
p={2}
justifyContent={"space-between"}