mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
web: fix trash note preview is not readonly
This commit is contained in:
@@ -256,7 +256,8 @@ function EditorView({
|
||||
deferredSave(session.id, session.id, ignoreEdit, data);
|
||||
}}
|
||||
options={{
|
||||
readonly: session?.type === "readonly",
|
||||
readonly:
|
||||
session?.type === "readonly" || session?.type === "deleted",
|
||||
onRequestFocus: () => toggleProperties(false),
|
||||
focusMode: isFocusMode,
|
||||
isMobile: isMobile || isTablet
|
||||
|
||||
Reference in New Issue
Block a user