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
fix titleInput on iOS
ammarahm-edb70d9786d078
diff --git a/apps/mobile/html/Web.bundle/site/index.html b/apps/mobile/html/Web.bundle/site/index.htmlindex 42708266b..3553a0abc 100644--- a/apps/mobile/html/Web.bundle/site/index.html+++ b/apps/mobile/html/Web.bundle/site/index.html@@ -1205,16 +1205,45 @@}return whiteSpace;}- document.getElementById('titleInput').onchange = function () {- editor.focus();- console.log(JSON.stringify(editor.getContents()));++ document.getElementById('titleInput').onchange = onChangetitle()+++ document.getElementById('titleInput').onkeydown = function (evt) {++ var titleMessage = {+ type: 'title',+ value: document.getElementById('titleInput').value+ }++ window.ReactNativeWebView.postMessage(JSON.stringify(titleMessage));+ }++ document.getElementById('titleInput').onkeyup = function (evt) {++ var titleMessage = {+ type: 'title',+ value: document.getElementById('titleInput').value+ }++ window.ReactNativeWebView.postMessage(JSON.stringify(titleMessage));+ }+++++++ function onChangetitle() {+ editor.focus();var titleMessage = {type: 'title',value: document.getElementById('titleInput').value}window.ReactNativeWebView.postMessage(JSON.stringify(titleMessage));+ console.log(JSON.stringify(editor.getContents()));}