Skip to content

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

add function to set loading to false

ammarahm-edbd55ae5d8a7c
diff --git a/apps/mobile/src/views/Editor/tiny/tiny.js b/apps/mobile/src/views/Editor/tiny/tiny.js
index dba4d81c8..37c2d3013 100644
--- a/apps/mobile/src/views/Editor/tiny/tiny.js
+++ b/apps/mobile/src/views/Editor/tiny/tiny.js
@@ -99,6 +99,10 @@ const isLoading = `
isLoading = true;
`;
+const notLoading = `
+isLoading = false;
+`;
+
const html = (value) => `
isLoading = true;
tinymce.activeEditor.mode.set("readonly")
@@ -167,4 +171,5 @@ export default {
setTitle,
restoreRange,
isLoading,
+ notLoading
};