Skip to content

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

simply reload editor on close

ammarahm-ed570380af72f7
diff --git a/apps/mobile/src/views/Editor/Functions.js b/apps/mobile/src/views/Editor/Functions.js
index 33e74db78..b3361f5ed 100644
--- a/apps/mobile/src/views/Editor/Functions.js
+++ b/apps/mobile/src/views/Editor/Functions.js
@@ -478,7 +478,7 @@ export async function clearEditor(
}
let func = async () => {
try {
- reset && tiny.call(EditorWebView, tiny.reset, true);
+ reset && EditorWebView.current?.reload();
editing.focusType = null;
eSendEvent('historyEvent', {
undo: 0,