Skip to content

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

fix some issues with editor on ios

ammarahm-ed9875e6ef001a
diff --git a/apps/mobile/html/Web.bundle/site/index.css b/apps/mobile/html/Web.bundle/site/index.css
index 1061feb58..3a9173e4d 100644
--- a/apps/mobile/html/Web.bundle/site/index.css
+++ b/apps/mobile/html/Web.bundle/site/index.css
@@ -17,6 +17,8 @@ body {
resize: none;
font-size: 25px;
height: 45x;
+ padding-top:0px;
+ padding-bottom:0px;
}
#formBox {
@@ -49,9 +51,9 @@ body {
font-size: 11.5px;
height: 13px;
display: flex;
- padding-left: 4px !important;
+ padding-left: 14px !important;
justify-content: space-between;
- margin-top: 5px;
+ margin-top: 0px;
}
.info-bar a {
diff --git a/apps/mobile/html/Web.bundle/site/init.js b/apps/mobile/html/Web.bundle/site/init.js
index 93059ba6a..83692caa7 100755
--- a/apps/mobile/html/Web.bundle/site/init.js
+++ b/apps/mobile/html/Web.bundle/site/init.js
@@ -292,7 +292,6 @@ function init_tiny(size) {
});
editor.on('SetContent', function (event) {
- console.log('content set', event.paste, globalThis.isClearingNoteData);
if (globalThis.isClearingNoteData) {
globalThis.isClearingNoteData = false;
return;
@@ -303,10 +302,6 @@ function init_tiny(size) {
if (!event.paste) {
reactNativeEventHandler('noteLoaded', true);
}
- if (event.paste) {
- isLoading = false;
- onChange(event);
- }
});
editor.on('NewBlock', function (e) {