Skip to content

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

fix editor not loading on ios

ammarahm-ed476de50f92fa
diff --git a/apps/mobile/html/Web.bundle/site/index.html b/apps/mobile/html/Web.bundle/site/index.html
index 098d4393e..024d2637f 100644
--- a/apps/mobile/html/Web.bundle/site/index.html
+++ b/apps/mobile/html/Web.bundle/site/index.html
@@ -24,8 +24,6 @@
<form
id="formBox"
>
-
-
<input id="titleInput" placeholder="Title here"/>
<div class="info-bar">
<p id="infowords"></p>
@@ -33,9 +31,9 @@
<p id="infodate"></p>
<p>-</p>
<p id="infosaved"></p>
+ </div>
</form>
</div>
-</div>
<div id="editor"></div>
<div id="toolbar"></div>
@@ -56,7 +54,7 @@
let mainToolbar = premium ? proToolbar : simpleToolbar;
- const Quill = require('quill');
+ const Quill = requiring('quill');
setFonts();
@@ -91,6 +89,8 @@
attachEditorListeners();
fixDropdownMenuLocations();
}
+
+
</script>
diff --git a/apps/mobile/html/Web.bundle/site/styles.css b/apps/mobile/html/Web.bundle/site/styles.css
index 7583225f8..fee84d76a 100644
--- a/apps/mobile/html/Web.bundle/site/styles.css
+++ b/apps/mobile/html/Web.bundle/site/styles.css
@@ -1021,7 +1021,7 @@
}
#formBox {
- margin-block-end:0px
+ margin-block-end:0;
}
diff --git a/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj b/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj
index 7a9eec5d9..5bcd6d053 100644
--- a/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj
+++ b/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj
@@ -18,7 +18,7 @@
2DCD954D1E0B4F2C00145EB5 /* NotesnookTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* NotesnookTests.m */; };
6552A26B2504BD6E00D0FA37 /* DMSans-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 6552A2692504BD6E00D0FA37 /* DMSans-Regular.ttf */; };
6552A26C2504BD6E00D0FA37 /* DMSerifText-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 6552A26A2504BD6E00D0FA37 /* DMSerifText-Regular.ttf */; };
- 6552A26E2504BD8F00D0FA37 /* Web.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 6552A26D2504BD8F00D0FA37 /* Web.bundle */; };
+ 655FD77A253AD31C001D807D /* Web.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 655FD779253AD31C001D807D /* Web.bundle */; };
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
87CE5B71DC72F3D95B7B1AA5 /* libPods-Notesnook-tvOSTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A03E3F5851D27269540E147C /* libPods-Notesnook-tvOSTests.a */; };
A79A93DC9D0CAE8703462151 /* libPods-Notesnook-NotesnookTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 068FA9BDFA207A50B0A9E597 /* libPods-Notesnook-NotesnookTests.a */; };
@@ -62,7 +62,7 @@
4BD34AE0C0FD2416E48803B8 /* libPods-Notesnook.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Notesnook.a"; sourceTree = BUILT_PRODUCTS_DIR; };
6552A2692504BD6E00D0FA37 /* DMSans-Regular.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "DMSans-Regular.ttf"; sourceTree = "<group>"; };
6552A26A2504BD6E00D0FA37 /* DMSerifText-Regular.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "DMSerifText-Regular.ttf"; sourceTree = "<group>"; };
- 6552A26D2504BD8F00D0FA37 /* Web.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = Web.bundle; path = ../html/Web.bundle; sourceTree = "<group>"; };
+ 655FD779253AD31C001D807D /* Web.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = Web.bundle; path = ../html/Web.bundle; sourceTree = "<group>"; };
747E42E32601638E75E9A3CF /* Pods-Notesnook-tvOSTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Notesnook-tvOSTests.debug.xcconfig"; path = "Target Support Files/Pods-Notesnook-tvOSTests/Pods-Notesnook-tvOSTests.debug.xcconfig"; sourceTree = "<group>"; };
77124A1C1FB538ED63FDEF82 /* Pods-Notesnook.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Notesnook.release.xcconfig"; path = "Target Support Files/Pods-Notesnook/Pods-Notesnook.release.xcconfig"; sourceTree = "<group>"; };
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = Notesnook/LaunchScreen.storyboard; sourceTree = "<group>"; };
@@ -131,7 +131,7 @@
13B07FAE1A68108700A75B9A /* Notesnook */ = {
isa = PBXGroup;
children = (
- 6552A26D2504BD8F00D0FA37 /* Web.bundle */,
+ 655FD779253AD31C001D807D /* Web.bundle */,
008F07F21AC5B25A0029DE68 /* main.jsbundle */,
13B07FAF1A68108700A75B9A /* AppDelegate.h */,
13B07FB01A68108700A75B9A /* AppDelegate.m */,
@@ -351,7 +351,7 @@
files = (
6552A26B2504BD6E00D0FA37 /* DMSans-Regular.ttf in Resources */,
6552A26C2504BD6E00D0FA37 /* DMSerifText-Regular.ttf in Resources */,
- 6552A26E2504BD8F00D0FA37 /* Web.bundle in Resources */,
+ 655FD77A253AD31C001D807D /* Web.bundle in Resources */,
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
);