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
update editor uris
ammarahm-ed516ea5892651
diff --git a/apps/mobile/src/components/NoteHistory/preview.js b/apps/mobile/src/components/NoteHistory/preview.jsindex ac9df7019..79d1e4f08 100644--- a/apps/mobile/src/components/NoteHistory/preview.js+++ b/apps/mobile/src/components/NoteHistory/preview.js@@ -128,8 +128,7 @@ export default function NotePreview({session, content}) {cacheMode="LOAD_DEFAULT"cacheEnabled={true}source={{- uri: 'http://192.168.10.13:3000/plaineditor.html'- //uri: sourceUri + 'plaineditor.html'+ uri: sourceUri + 'plaineditor.html'}}/>) : (diff --git a/apps/mobile/src/views/Editor/index.js b/apps/mobile/src/views/Editor/index.jsindex 1e36beb56..b0bf6cdc4 100755--- a/apps/mobile/src/views/Editor/index.js+++ b/apps/mobile/src/views/Editor/index.js@@ -1,20 +1,19 @@-import React, {useEffect, useState} from 'react';-import {AppState, Platform, View} from 'react-native';+import React, { useEffect, useState } from 'react';+import { Platform, View } from 'react-native';import WebView from 'react-native-webview';-import {notesnook} from '../../../e2e/test.ids';-import {useEditorStore, useUserStore} from '../../provider/stores';+import { notesnook } from '../../../e2e/test.ids';+import { useEditorStore, useUserStore } from '../../provider/stores';import {eSendEvent,eSubscribeEvent,eUnSubscribeEvent} from '../../services/EventManager';-import {getCurrentColors} from '../../utils/Colors';-import {eOnLoadNote} from '../../utils/Events';+import { getCurrentColors } from '../../utils/Colors';+import { eOnLoadNote } from '../../utils/Events';import { tabBarRef } from '../../utils/Refs';-import {sleep} from '../../utils/TimeUtils';+import { sleep } from '../../utils/TimeUtils';import EditorHeader from './EditorHeader';import {- checkStatus,disableEditing,EditorWebView,getNote,@@ -136,8 +135,7 @@ const Editor = React.memo(allowFileAccessFromFileURLs={true}allowUniversalAccessFromFileURLs={true}originWhitelist={['*']}- //source={source}- source={{uri: 'http://192.168.10.13:3000/index.html'}}+ source={source}style={style}autoManageStatusBarEnabled={false}onMessage={_onMessage}